On 10/20/2012 11:43 AM, Peter Otten wrote: > In Python 3 the way to specify the metaclass has changed: > >>>> class FooType(type): > ... def __dir__(self): return ["python"] > ... >>>> class Foo(metaclass=FooType): > ... pass > ... >>>> dir(Foo) > ['python'] Thanks! :) -- Jennie