mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Added missing "import os" to pdb.help()
This commit is contained in:
parent
e61fa0a1e4
commit
b37954f917
1 changed files with 1 additions and 0 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue