diff options
Diffstat (limited to 'pylint/checkers/exceptions.py')
-rw-r--r-- | pylint/checkers/exceptions.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pylint/checkers/exceptions.py b/pylint/checkers/exceptions.py index 0d60b0a39..eafbafa2b 100644 --- a/pylint/checkers/exceptions.py +++ b/pylint/checkers/exceptions.py @@ -57,8 +57,7 @@ def _builtin_exceptions(): def _annotated_unpack_infer(stmt, context=None): - """ - Recursively generate nodes inferred by the given statement. + """Recursively generate nodes inferred by the given statement. If the inferred value is a list or a tuple, recurse on the elements. Returns an iterator which yields tuples in the format ('original node', 'inferred node'). |