summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/import.rst
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-05-15 00:13:04 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-05-15 00:13:04 (GMT)
commitf47a40034763e9877861d995402715ca0dedb17c (patch)
tree9b75a3df16b8ae2ce66e9e45a2eef858ca5ff201 /Doc/c-api/import.rst
parent2dc1bbb659eb1812ec4d556573fc51b4426889e7 (diff)
downloadcpython-f47a40034763e9877861d995402715ca0dedb17c.zip
cpython-f47a40034763e9877861d995402715ca0dedb17c.tar.gz
cpython-f47a40034763e9877861d995402715ca0dedb17c.tar.bz2
Issue #25533: Update documentation regarding the frozen modules table
* "ctypes" documentation was using Python 2 bytes-str equivalence. * PyImport_FrozenModules is a pointer to const as of Python 3.4
Diffstat (limited to 'Doc/c-api/import.rst')
-rw-r--r--Doc/c-api/import.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/import.rst b/Doc/c-api/import.rst
index 86c1d7d..2936f4f 100644
--- a/Doc/c-api/import.rst
+++ b/Doc/c-api/import.rst
@@ -272,7 +272,7 @@ Importing Modules
};
-.. c:var:: struct _frozen* PyImport_FrozenModules
+.. c:var:: const struct _frozen* PyImport_FrozenModules
This pointer is initialized to point to an array of :c:type:`struct _frozen`
records, terminated by one whose members are all *NULL* or zero. When a frozen