self.__dict__ tricks

Steven D'Aprano steve at REMOVE-THIS-cybersource.com.au
Fri Oct 30 03:13:08 EDT 2009


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.


-- 
Steven



More information about the Python-list mailing list