summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2016-08-21 07:43:58 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2016-08-21 07:43:58 (GMT)
commitcbcd221de4f13a855ba37d48a238895e4ddc92f4 (patch)
tree07b1b549e44c6feeeec8ebd4cd6d03642a7b1932 /Doc/c-api
parentf9ed528fafafda147f20f345195ced23b141ace9 (diff)
parent8682f578c1c8fd0486c886b001729907a5409a9f (diff)
downloadcpython-cbcd221de4f13a855ba37d48a238895e4ddc92f4.zip
cpython-cbcd221de4f13a855ba37d48a238895e4ddc92f4.tar.gz
cpython-cbcd221de4f13a855ba37d48a238895e4ddc92f4.tar.bz2
Merge #27782 fix from 3.5
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/module.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/module.rst b/Doc/c-api/module.rst
index e810c69..7724350 100644
--- a/Doc/c-api/module.rst
+++ b/Doc/c-api/module.rst
@@ -324,7 +324,7 @@ The available slot types are:
:c:type:`PyModule_Type`. Any type can be used, as long as it supports
setting and getting import-related attributes.
However, only ``PyModule_Type`` instances may be returned if the
- ``PyModuleDef`` has non-*NULL* ``m_methods``, ``m_traverse``, ``m_clear``,
+ ``PyModuleDef`` has non-*NULL* ``m_traverse``, ``m_clear``,
``m_free``; non-zero ``m_size``; or slots other than ``Py_mod_create``.
.. c:var:: Py_mod_exec