]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
- A type can now inherit its metatype from its base type. Previously,
authorGuido van Rossum <guido@python.org>
Mon, 8 Apr 2002 01:39:56 +0000 (01:39 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 8 Apr 2002 01:39:56 +0000 (01:39 +0000)
commite5ea439bc8f1a5a77fa0ee2c1d11b7a0ada83e9e
tree3dacab6ffb277d8b4cc42e353b1cf00df867056a
parent7acf76b4b163cf206b127a124b2ed1536d5cf514
- A type can now inherit its metatype from its base type.  Previously,
  when PyType_Ready() was called, if ob_type was found to be NULL, it
  was always set to &PyType_Type; now it is set to base->ob_type,
  where base is tp_base, defaulting to &PyObject_Type.
Misc/NEWS
Objects/typeobject.c