mirror of
https://github.com/python/cpython.git
synced 2025-07-23 03:05:38 +00:00
Merge #27782 fix from 3.5
This commit is contained in:
commit
cbcd221de4
7 changed files with 83 additions and 32 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue