summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudiu Popa <cpopa@cloudbasesolutions.com>2015-01-02 11:08:54 +0200
committerClaudiu Popa <cpopa@cloudbasesolutions.com>2015-01-02 11:08:54 +0200
commit2995bdca1822c54191d85d2938771b631a4f31d9 (patch)
tree55bfa8432ce1fbfe67ec3b4b454dca558333dc72
parentb06c7f50b49ca755e26c6a6dcbe0b2fb30f6ffe2 (diff)
downloadpylint-2995bdca1822c54191d85d2938771b631a4f31d9.tar.gz
The comment is not true anymore.
-rw-r--r--checkers/exceptions.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/checkers/exceptions.py b/checkers/exceptions.py
index 0f58a68..50f9455 100644
--- a/checkers/exceptions.py
+++ b/checkers/exceptions.py
@@ -39,11 +39,6 @@ def _annotated_unpack_infer(stmt, context=None):
Returns an iterator which yields tuples in the format
('original node', 'infered node').
"""
- # TODO: the same code as unpack_infer, except for the annotated
- # return. We need this type of annotation only here and
- # there is no point in complicating the API for unpack_infer.
- # If the need arises, this behaviour can be promoted to unpack_infer
- # as well.
if isinstance(stmt, (List, Tuple)):
for elt in stmt.elts:
inferred = safe_infer(elt)