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 7ffbbfc commit 7d23cd3Copy full SHA for 7d23cd3
structural-pattern-matching/guessing_game.py
@@ -62,4 +62,5 @@ def bye():
62
try:
63
main()
64
except (KeyboardInterrupt, EOFError):
65
- print(f"\n{BYE}")
+ print()
66
+ bye()
structural-pattern-matching/repl.py
@@ -30,7 +30,7 @@ def main():
30
except EOFError:
31
print()
32
exit()
33
- except: # noqa
+ except Exception:
34
traceback.print_exc(file=sys.stdout)
35
36
structural-pattern-matching/repl_enhanced.py
@@ -112,7 +112,7 @@ def main() -> None:
112
113
114
sys.exit()
115
116
117
console.indentation_level = 0
118
block.lines = []
0 commit comments