Is there a code inspector or helper to show exceptions of a class when composing 'except'

已回答
0
Avatar
Permanently deleted user

There are several exception-related inspections in PyCharm (see "File | Settings | Editor | Inspections | Search for "except" in the search field"), but none of them can detect what exceptions could be raised by a try-block. Feel free to file a new feature request at the issue tracker of PyCharm.

0

请先登录再写评论。