]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Replace __import__ with import as.
authorMartin v. Löwis <martin@v.loewis.de>
Thu, 19 Jul 2001 10:06:39 +0000 (10:06 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Thu, 19 Jul 2001 10:06:39 +0000 (10:06 +0000)
Lib/dumbdbm.py

index 30ec114c35e056ef6640b06318919ca401a0ad79..e5083492e3a10e49524c7b14b401f8658e499b4d 100644 (file)
@@ -21,7 +21,7 @@ is read when the database is opened, and some updates rewrite the whole index)
 
 """
 
-_os = __import__('os')
+import os as _os
 import __builtin__
 
 _open = __builtin__.open