self.__dict__ tricks
MRAB
python at mrabarnett.plus.com
Fri Oct 30 11:28:47 EDT 2009
Steven D'Aprano wrote:
> On Fri, 30 Oct 2009 15:55:04 +1100, Ben Finney wrote:
>
>> Steven D'Aprano <steve at REMOVE-THIS-cybersource.com.au> writes:
>>
>>> On Thu, 29 Oct 2009 21:16:37 -0500, Tim Johnson wrote:
>>>> class formLoader():
>>> Idiomatic Python is to use CamelCase for classes.
>> Or rather: Instead of camelCase names, idiomatic Python is to use
>> TitleCase names.
>
> Thank you for the correction. I always mix up those two.
>
Wouldn't it be clearer if they were called dromedaryCase and
BactrianCase? :-)
More information about the Python-list
mailing list