diff --git a/pep-0475.txt b/pep-0475.txt index 01ef3c6d6..b089ed519 100644 --- a/pep-0475.txt +++ b/pep-0475.txt @@ -99,8 +99,9 @@ example? while True: try: print("Hello World") + break except InterruptedError: - pass + continue ``InterruptedError`` can happen in unexpected places. For example, ``os.close()`` and ``FileIO.close()`` can raises ``InterruptedError``: