Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b37954f

Browse files
committed
Added missing "import os" to pdb.help()
1 parent e61fa0a commit b37954f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/pdb.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ def test():
315315

316316
# print help
317317
def help():
318+
import os
318319
for dirname in sys.path:
319320
fullname = os.path.join(dirname, 'pdb.doc')
320321
if os.path.exists(fullname):

0 commit comments

Comments
 (0)