diff options
Diffstat (limited to 'pylint/extensions')
-rw-r--r-- | pylint/extensions/_check_docs_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/extensions/_check_docs_utils.py b/pylint/extensions/_check_docs_utils.py index 759c72d69..39d7550b7 100644 --- a/pylint/extensions/_check_docs_utils.py +++ b/pylint/extensions/_check_docs_utils.py @@ -69,7 +69,7 @@ def possible_exc_types(node): if handler and handler.type: excs = astroid.unpack_infer(handler.type) - excs = (exc.name for exc in excs if exc is not astroid.Uninferable) + excs = (exc.name for exc in excs if exc is not astroid.YES) excs = set(exc for exc in excs if not node_ignores_exception(node, exc)) return excs |