On Wed, 08 Jun 2011 21:04:48 +1000, Steven D'Aprano <st...@pearwood.info> wrote: > Terry Reedy wrote: > > On 6/7/2011 5:35 PM, David Malcolm wrote: > > > >> I know that this style is unpopular, but if it helps, try mentally > >> pronouncing "==" in C as "is the value of". > >> > >> In this example, when I read that line, my mind is thinking: > >> > >> "if 'u' is the value of typecode" > >> > >> After ~12 years of doing this, it comes naturally. I appreciate that > >> this may come across as weird though :) > > > > Whereas I read it as 'has the value' (or just 'is' ;=). > > > Am I the only one who reads == as "equals"?
No :) Especially considering that Python actually has an 'is' operator.... -- R. David Murray http://www.bitdance.com _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com