From: Martin v. Löwis Date: Thu, 19 Jul 2001 10:06:39 +0000 (+0000) Subject: Replace __import__ with import as. X-Git-Tag: v2.2a3~1056 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d0cd95ce7febd97683d6e113e1b486b93bcf88eb;p=thirdparty%2FPython%2Fcpython.git Replace __import__ with import as. --- diff --git a/Lib/dumbdbm.py b/Lib/dumbdbm.py index 30ec114c35e0..e5083492e3a1 100644 --- a/Lib/dumbdbm.py +++ b/Lib/dumbdbm.py @@ -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