[Python-Dev] Class Methods

Remco Gerlich scarblac at pino.selwerd.nl
Sun Apr 22 13:15:45 EDT 2001


Barry A. Warsaw <barry at digicool.com> wrote in comp.lang.python:
> Another question: presumably when I write
> 
>     class Foo: pass
> 
> Foo is implicitly given the built-in metaclass M, but say I wanted to
> define a class Foo with a different metaclass, how would I spell this?

class WeirdClass >> Foo: pass

<g,d&r>

-- 
Remco Gerlich




More information about the Python-list mailing list