[Python-Dev] PEP 8 updates/clarifications

François Pinard pinard at iro.umontreal.ca
Sat Dec 10 17:45:40 CET 2005


[Ian Bicking]
>Barry Warsaw wrote:

>Just like I wouldn't like someone using "self" outside of the first 
>argument of instance methods.

A tiny nit. Within __new__(cls, ...), I find quite legible writing:
 self = BASECLASSE.__new__(cls, ...)
and using it afterwards.
-- 
François Pinard http://pinard.progiciels-bpi.ca


More information about the Python-Dev mailing list

AltStyle によって変換されたページ (->オリジナル) /