What is the `except*` operator?

except* is the new syntax for “Exception Groups” that will be added in Python 3.11.

See PEP 654 (specifically this section) for more details.

In brief, it captures one or more ValueError exceptions that may be part of a raised ExceptionGroup, without preventing additional except* clauses from handling other exceptions in the same group.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)