summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-03-23 18:53:03 (GMT)
committerGuido van Rossum <guido@python.org>2007-03-23 18:53:03 (GMT)
commitf102e24bd34442026f4200a298a8b08d1deb3616 (patch)
tree8615ed95b550b4c4493721fc9136fd01ca0b5da7 /Doc/lib
parent0af338859b86880cdfe0fe5b3abeea8acace33eb (diff)
downloadcpython-f102e24bd34442026f4200a298a8b08d1deb3616.zip
cpython-f102e24bd34442026f4200a298a8b08d1deb3616.tar.gz
cpython-f102e24bd34442026f4200a298a8b08d1deb3616.tar.bz2
Add a type.__init__() method that enforces the same signature as
type.__new__(), and then calls object.__init__(cls), just to be anal. This allows us to restore the code in string.py's _TemplateMetaclass that called super(...).__init__(name, bases, dct), which I commented out yesterday since it broke due to the stricter argument checking added to object.__init__().
Diffstat (limited to 'Doc/lib')
0 files changed, 0 insertions, 0 deletions