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>: