summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1993-10-22 13:57:38 (GMT)
committerGuido van Rossum <guido@python.org>1993-10-22 13:57:38 (GMT)
commitb37954f91771735e8595918f6e43f46438db7397 (patch)
treeb1bbbcfcb7c831ecd541fc5e45354d962cb502d0 /Lib
parente61fa0a1e4c6598f286f54772c7e065c49dc17ba (diff)
downloadcpython-b37954f91771735e8595918f6e43f46438db7397.zip
cpython-b37954f91771735e8595918f6e43f46438db7397.tar.gz
cpython-b37954f91771735e8595918f6e43f46438db7397.tar.bz2
Added missing "import os" to pdb.help()
Diffstat (limited to 'Lib')
-rwxr-xr-xLib/pdb.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/pdb.py b/Lib/pdb.py
index f415e40..fd8835b 100755
--- a/Lib/pdb.py
+++ b/Lib/pdb.py
@@ -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):