On 3/9/07, Talin <[EMAIL PROTECTED]> wrote: > Note that the Python interpreter will check to insure that the > __metacreate__ attribute exists before calling it. This preserves > backwards compatibility with existing metaclasses.
You might want to be even more explicit and say If the metaclass does not have a __prepare__ attribute, then the interpreter will supply an empty mapping. (I was tempted to say "ordinary dict", but that might not be true in, say, a secured mode.) -jJ _______________________________________________ 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
