[Python-Dev] PEP 8 updates/clarifications

Alex Martelli aleaxit at gmail.com
Tue Dec 13 00:57:48 CET 2005


On 12/12/05, Phillip J. Eby <pje at telecommunity.com> wrote:
   ...
> I'd rather see 'metaclass' fully spelled out than resort to 'mcl';
> metaclass code is tricky enough to write without figuring out
> abbreviations.  :)
>
> Indeed, the only reason I use 'cls' is because it was Pronounced the
> standard; before the pronouncement I was using 'klass' as the argument name
> for class methods.

The name choices klass and meta are internally consistent, and so are
cls and mcl.  I just wouldn't like a mixed, and thus
harder-to-remember, pair of choices such as cls and meta.  Perhaps
Guido can Pronounce one way or another and set the subdiscussion to
rest...


Alex


More information about the Python-Dev mailing list