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
a096a2e6
Commit
a096a2e6
authored
Nov 02, 1998
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Warn that AddModule doesn't import the module.
parent
446fd040
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
Doc/api/api.tex
Doc/api/api.tex
+6
-1
No files found.
Doc/api/api.tex
View file @
a096a2e6
...
...
@@ -983,7 +983,12 @@ Return the module object corresponding to a module name. The
check the modules dictionary if there's one there, and if not, create
a new one and insert in in the modules dictionary. Because the former
action is most common, this does not return a new reference, and you
do not own the returned reference. Return
\NULL
{}
with an
do not own the returned reference.
Warning: this function does not load or import the module; if the
module wasn't already loaded, you will get an empty module object.
Use
\cfunction
{
PyImport
_
ImportModule()
}
or one of its variants to
import a module.
Return
\NULL
{}
with an
exception set on failure.
\strong
{
Note:
}
this function returns
a ``borrowed'' reference.
\end{cfuncdesc}
...
...
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