Additional information on exceptions can be found in section Exceptions, and information on using the raise statement to generate exceptions may be found in section The raise statement.
Changed in version 3.14: Support for optionally dropping grouping parentheses when using multiple exception types. See PEP 758.