Accessing overridden __builtin__s?

Fredrik Lundh fredrik at pythonware.com
Tue Mar 14 08:43:48 EST 2006


"bruno at modulix" wrote:

> There again, you may want to read more carefully: SpecialFile is *also*
> the module's name - which, I agree, is not pythonic.

this approach was recommended by the official style until very recently.

    http://www.python.org/doc/essays/styleguide.html

    Modules that export a single class (or a number of closely related
    classes, plus some additional support) are often named in Mixed-
    Case, with the module name being the same as the class name
    (e.g. the standard StringIO module).

</F> 






More information about the Python-list mailing list