]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-26868: Fix example usage of PyModule_AddObject. (GH-15725)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 12 Sep 2019 12:29:09 +0000 (05:29 -0700)
committerGitHub <noreply@github.com>
Thu, 12 Sep 2019 12:29:09 +0000 (05:29 -0700)
commitc8d1338441114fbc504625bc66607e7996018a5d
tree79678870d64b0ba900aa954e39d97b744470650d
parent01b47c94ca8ef89c5ac5fda0ab1074e73234a738
bpo-26868: Fix example usage of PyModule_AddObject. (GH-15725)

* Add a note to the PyModule_AddObject docs.

* Correct example usages of PyModule_AddObject.

* Whitespace.

* Clean up wording.

* ðŸ“œðŸ¤– Added by blurb_it.

* First code review.

* Add < 0 in the tests with PyModule_AddObject
(cherry picked from commit 224b8aaa7e8f67f748e8b7b6a4a77a25f6554651)

Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
Doc/c-api/module.rst
Doc/extending/extending.rst
Doc/extending/newtypes_tutorial.rst
Doc/includes/custom.c
Doc/includes/custom2.c
Doc/includes/custom3.c
Doc/includes/custom4.c
Doc/includes/sublist.c
Misc/NEWS.d/next/Documentation/2019-09-07-15-55-46.bpo-26868.Raw0Gd.rst [new file with mode: 0644]