From d86085875b45b588afe9c15382d305a1586fa337 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Fri, 16 Oct 2020 18:05:08 +0200 Subject: [PATCH] Exceptions --- README.md | 4 ++-- index.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f3e6a6b..072f802 100644 --- a/README.md +++ b/README.md @@ -1371,8 +1371,8 @@ finally: ```python except : except as : -except (, ...): -except (, ...) as : +except (, [...]): +except (, [...]) as : ``` * **Also catches subclasses of the exception.** * **Use `'traceback.print_exc()'` to print the error message to stderr.** diff --git a/index.html b/index.html index b3e85a7..cbdb172 100644 --- a/index.html +++ b/index.html @@ -1304,8 +1304,8 @@ LogicOp = Enum('LogicOp', {Catching Exceptions
except <exception>:
 except <exception> as <name>:
-except (<exception>, ...):
-except (<exception>, ...) as <name>:
+except (<exception>, [...]):
+except (<exception>, [...]) as <name>: