Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
648b5900
Commit
648b5900
authored
Mar 06, 2013
by
Ezio Melotti
Browse files
Options
Browse Files
Download
Plain Diff
#17363: merge with 3.3.
parents
cf77da9f
32b0f020
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Doc/c-api/module.rst
Doc/c-api/module.rst
+2
-2
No files found.
Doc/c-api/module.rst
View file @
648b5900
...
@@ -122,7 +122,7 @@ There are only a few functions special to module objects.
...
@@ -122,7 +122,7 @@ There are only a few functions special to module objects.
:c:func:`PyState_AddModule` beforehand. In case the corresponding module object is not
:c:func:`PyState_AddModule` beforehand. In case the corresponding module object is not
found or has not been attached to the interpreter state yet, it returns NULL.
found or has not been attached to the interpreter state yet, it returns NULL.
.. c:function:: int PyState_AddModule(Py
ModuleDef *def, PyObject *module
)
.. c:function:: int PyState_AddModule(Py
Object *module, PyModuleDef *def
)
Attaches the module object passed to the function to the interpreter state. This allows
Attaches the module object passed to the function to the interpreter state. This allows
the module object to be accessible via
the module object to be accessible via
...
@@ -130,7 +130,7 @@ There are only a few functions special to module objects.
...
@@ -130,7 +130,7 @@ There are only a few functions special to module objects.
.. versionadded:: 3.3
.. versionadded:: 3.3
.. c:function:: int PyState_RemoveModule(PyModuleDef *def
, PyObject *module
)
.. c:function:: int PyState_RemoveModule(PyModuleDef *def)
Removes the module object created from *def* from the interpreter state.
Removes the module object created from *def* from the interpreter state.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment