PEP 318

Robert Brewer fumanchu at
Sun Mar 21 21:59:29 CET 2004

John Roth wrote:
> Class methods require the first parameter
> to be the class (sometimes spelled klas for some reason),

Because "class" IS a reserved word. I tend to use "cls" instead of
"klas", but I'm not Dutch. ;)


More information about the Python-list mailing list