]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
exec() -> exec
authorGuido van Rossum <guido@python.org>
Thu, 10 Aug 1995 19:31:20 +0000 (19:31 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 10 Aug 1995 19:31:20 +0000 (19:31 +0000)
Lib/importall.py

index 1383e807906315ed0a1eea1f43bdb2ce1115a4b7..780862cf33ae8074ebc664a5fa13c92cae509379 100755 (executable)
@@ -26,7 +26,7 @@ for dir in sys.path:
                        s = 'import ' + head
                        print s
                        try:
-                               exec(s + '\n')
+                               exec s + '\n'
                        except KeyboardInterrupt:
                                del names[:]
                                print '\n[interrupt]'