self.__dict__ tricks

MRAB python at mrabarnett.plus.com
Sat Oct 31 13:24:58 EDT 2009


Hendrik van Rooyen wrote:
> On Friday, 30 October 2009 17:28:47 MRAB wrote:
> 
>> Wouldn't it be clearer if they were called dromedaryCase and
>> BactrianCase? :-)
> 
> Ogden Nash:
> 
> The Camel has a single hump-
> The Dromedary, two;
> Or the other way around-
> I'm never sure. - Are You?
> 
If you make the first letter a capital:

     Dromedary starts with "D", 1 bump, 1 hump.

     Bactrian starts with "B", 2 bumps, 2 humps.



More information about the Python-list mailing list