We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46f0390 commit 54462edCopy full SHA for 54462ed
Lib/site.py
@@ -573,7 +573,7 @@ def register_readline():
573
def write_history():
574
try:
575
readline_module.write_history_file(history)
576
- except FileNotFoundError, PermissionError:
+ except (FileNotFoundError, PermissionError):
577
# home directory does not exist or is not writable
578
# https://bugs.python.org/issue19891
579
pass
0 commit comments