Skip to content
Unverified Commit dd937dcc authored by Ranjodh Singh's avatar Ranjodh Singh Committed by GitHub
Browse files

Remove parentheses around multiple exception types in `except` and `except*` without `as`. (#4720)

* Remove parentheses around multiple exception types in `except` and `except*` when not using the `as` clause. (#4678)

* Add Changelog Entry

* Add Unparenthesized Except Tuple Detection.

* Add tests for `except*`.

* Oops! Wrong Version.

* Fix function `supports_feature` to return False when `target_versions`  is empty. [skip news] (#4726)

* Fix function `supports_feature` to return False when `target_versions` is empty.

* supports_feature: raise ValueError if target_versions is empty

* Simplify conditional logic for removing except type parens.
parent abd5f081
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment