2007/9/2, Brett Cannon <[EMAIL PROTECTED]>: > PEP 3115 says a metaclass' __prepare__ takes two positional arguments, > name and bases. But the example has it actually accept an arbitrary > number of arguments: name and then everything else is bound to bases. > > Which happens to be true?
I've played with it a bit and as I see it only takes name and bases. Maybe there is something secret ;p about using *args in __prepare__ that I dont know yet. > I'm too tired to even fully trust that I am > reading the PEP correctly, so I am not about to try to write an > example to see which is correct and come up with a coherent rewording > if I am right about what is wrong. =) > > -Brett > _______________________________________________ > Python-3000 mailing list > Python-3000@python.org > http://mail.python.org/mailman/listinfo/python-3000 > Unsubscribe: > http://mail.python.org/mailman/options/python-3000/ggpolo%40gmail.com > -- -- Guilherme H. Polo Goncalves -- -- Guilherme H. Polo Goncalves _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com