]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.8] bpo-38159: Clarify documentation of PyState_AddModule (GH-16101) (GH-17026)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 5 Nov 2019 13:35:56 +0000 (05:35 -0800)
committerGitHub <noreply@github.com>
Tue, 5 Nov 2019 13:35:56 +0000 (05:35 -0800)
commit1270d2cf1d17bfa581bf2a19f82c8cb43bf793d9
treebf32cada273d51fd0123a10983ff3927f26678e8
parent0eb6fefad7c753a186cf51f0dc52416a1a8d6d51
[3.8] bpo-38159: Clarify documentation of PyState_AddModule (GH-16101) (GH-17026)

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