]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.7] bpo-38159: Clarify documentation of PyState_AddModule (GH-16101) (GH-17027)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 5 Nov 2019 13:36:09 +0000 (05:36 -0800)
committerGitHub <noreply@github.com>
Tue, 5 Nov 2019 13:36:09 +0000 (05:36 -0800)
commit4342af00d87de0a0d0ef3bfda4d6edb08ac2427a
tree75ff28e4eac7f7edb0ad1fe9f9e80e174e8a935d
parent1f9148bdb41ca222d7bbdec6a17f74bb847a29f4
[3.7] bpo-38159: Clarify documentation of PyState_AddModule (GH-16101) (GH-17027)

This was never intented to be called manually from PyInit_*.

Also, clarify PyState_RemoveModule return value.
(cherry picked from commit 9bc94eca0c69a551f928692364a99e9b67c4a45b)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
https://bugs.python.org/issue38159

Automerge-Triggered-By: @encukou
Doc/c-api/module.rst