diff options
-rw-r--r-- | Doc/lib/libimp.tex | 2 | ||||
-rw-r--r-- | Doc/libimp.tex | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libimp.tex b/Doc/lib/libimp.tex index 1ee7ced..1a313fa 100644 --- a/Doc/lib/libimp.tex +++ b/Doc/lib/libimp.tex @@ -135,7 +135,7 @@ The following function emulates the default import statement: import imp from sys import modules -def __import__(name): +def __import__(name, globals=None, locals=None, fromlist=None): # Fast path: let's see if it's already in sys.modules. # Two speed optimizations are worth mentioning: # - We use 'modules' instead of 'sys.modules'; this saves a diff --git a/Doc/libimp.tex b/Doc/libimp.tex index 1ee7ced..1a313fa 100644 --- a/Doc/libimp.tex +++ b/Doc/libimp.tex @@ -135,7 +135,7 @@ The following function emulates the default import statement: import imp from sys import modules -def __import__(name): +def __import__(name, globals=None, locals=None, fromlist=None): # Fast path: let's see if it's already in sys.modules. # Two speed optimizations are worth mentioning: # - We use 'modules' instead of 'sys.modules'; this saves a |