]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-29165: doc: make extending/newtypes more Python 3 friendly (GH-211)
authorINADA Naoki <methane@users.noreply.github.com>
Tue, 21 Feb 2017 12:12:03 +0000 (21:12 +0900)
committerGitHub <noreply@github.com>
Tue, 21 Feb 2017 12:12:03 +0000 (21:12 +0900)
commit9436bbd87b7eed18dec4c32f25b88452fe282e1c
tree8c803f80d849e87b4c8edc4b860f24fe139cdf2e
parentd9a75744eeaa882e6203cdb864289a6534ac86c8
bpo-29165: doc: make extending/newtypes more Python 3 friendly (GH-211)

* Use PyVarObject_HEAD_INIT instead of PyObject_HEAD_INIT on type struct header.
* Backport many minor fixes from Python 3 doc to minimize diff.
Doc/extending/newtypes.rst
Doc/includes/noddy.c
Doc/includes/noddy2.c
Doc/includes/noddy3.c
Doc/includes/noddy4.c
Doc/includes/setup.py
Doc/includes/shoddy.c