summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2010-12-16 06:28:48 (GMT)
committerÉric Araujo <merwok@netwok.org>2010-12-16 06:28:48 (GMT)
commit930df3198746c0f718c7315c9ce331a306375867 (patch)
tree4301b64ed32c6ef6b2b776fd3e36fa82d40e297a /Doc/c-api
parentff47a133e1eee9dab60b86fb0d56ccd1022f841a (diff)
downloadcpython-930df3198746c0f718c7315c9ce331a306375867.zip
cpython-930df3198746c0f718c7315c9ce331a306375867.tar.gz
cpython-930df3198746c0f718c7315c9ce331a306375867.tar.bz2
Add missing docs and directives related to PEP 3147 and byte-compilation
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/import.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/c-api/import.rst b/Doc/c-api/import.rst
index 15a11fd..cf48363 100644
--- a/Doc/c-api/import.rst
+++ b/Doc/c-api/import.rst
@@ -142,6 +142,7 @@ Importing Modules
attribute of the module object is set to *cpathname* if it is
non-``NULL``. Of the three functions, this is the preferred one to use.
+ .. versionadded:: 3.2
.. c:function:: long PyImport_GetMagicNumber()
@@ -155,6 +156,8 @@ Importing Modules
Return the magic tag string for :pep:`3147` format Python bytecode file
names.
+ .. versionadded:: 3.2
+
.. c:function:: PyObject* PyImport_GetModuleDict()
Return the dictionary used for the module administration (a.k.a.