mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
parent
6a7a49c631
commit
8b33dd8e54
21 changed files with 56 additions and 56 deletions
|
@ -950,7 +950,7 @@ def print_directory():
|
|||
try:
|
||||
pwd = os.getcwd()
|
||||
except OSError as msg:
|
||||
print("os.error:", html.escape(str(msg)))
|
||||
print("OSError:", html.escape(str(msg)))
|
||||
else:
|
||||
print(html.escape(pwd))
|
||||
print()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue