]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Add a default __prepare__() method to 'type', so it can be called
authorGuido van Rossum <guido@python.org>
Thu, 2 Aug 2007 16:48:17 +0000 (16:48 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 2 Aug 2007 16:48:17 +0000 (16:48 +0000)
commit4737482fada222f2353b9abc9bcf14bfac49fb79
treeb015be13b0bf0c7b556a745d58e23dddf657b767
parenta9efc8e2684a04ae37c1528fd8f079247b6a0536
Add a default __prepare__() method to 'type', so it can be called
using super().  (See recent conversation on python-3000 with Talin
and Phillip Eby about PEP 3115 chaining rules.)
Lib/test/test_metaclass.py
Objects/typeobject.c