Skip to content

Commit

Permalink
[PATMA] TR Feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
bzaczynski committed Sep 5, 2024
1 parent 7ffbbfc commit 7d23cd3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion structural-pattern-matching/guessing_game.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,5 @@ def bye():
try:
main()
except (KeyboardInterrupt, EOFError):
print(f"\n{BYE}")
print()
bye()
2 changes: 1 addition & 1 deletion structural-pattern-matching/repl.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def main():
except EOFError:
print()
exit()
except: # noqa
except Exception:
traceback.print_exc(file=sys.stdout)


Expand Down
2 changes: 1 addition & 1 deletion structural-pattern-matching/repl_enhanced.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def main() -> None:
except EOFError:
print()
sys.exit()
except: # noqa
except Exception:
traceback.print_exc(file=sys.stdout)
console.indentation_level = 0
block.lines = []
Expand Down

0 comments on commit 7d23cd3

Please sign in to comment.