]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Added missing "import os" to pdb.help()
authorGuido van Rossum <guido@python.org>
Fri, 22 Oct 1993 13:57:38 +0000 (13:57 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 22 Oct 1993 13:57:38 +0000 (13:57 +0000)
Lib/pdb.py

index f415e409f1c291e81113e261163c1562c60ba406..fd8835b14bdec5d51592b09633f9d8bcff3fa1a4 100755 (executable)
@@ -315,6 +315,7 @@ def test():
 
 # print help
 def help():
+       import os
        for dirname in sys.path:
                fullname = os.path.join(dirname, 'pdb.doc')
                if os.path.exists(fullname):