commit | 4f4c9b42ba20c857e23136431921433896532c95 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Feb 15 15:52:13 1995 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Feb 15 15:52:13 1995 +0000 |
tree | fd7d836435143b12280576d41d6b5835d9e97125 | |
parent | 194e57caa6675f0839819477294de7690923c771 [diff] [blame] |
make __import__ 4-args
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 @@ 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