On 05/09/2013 11:46 PM, Nick Coghlan wrote:
As an added bonus, people trying to understand the details of metaclasses will now have a non-trivial standard library example to investigate
Hmmm... __prepare__ really isn't doing very much at the moment... I could have it do more... maybe create some kind of little helper class, name it the same as the class being created, and stuff it in the class dict... ;)
-- ~Ethan~ _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com