Josiah Carlson wrote: > class foo(...): > a = ... > __metaclass__ = callable(a, ...)
Personally I wouldn't mind if it were made a requirement that __metaclass__, if it is present, must be the first name bound in the class body (and can't be inside an if statement, etc.) Does anyone know of any actual code out there that would be broken by this? -- Greg _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
