summaryrefslogtreecommitdiff
path: root/pylint/checkers/variables.py
diff options
context:
space:
mode:
authorRadu Ciorba <radu@devrandom.ro>2015-03-30 02:52:01 +0300
committerRadu Ciorba <radu@devrandom.ro>2015-03-30 02:52:01 +0300
commit3da335cc152191fb9f84bc3249d81951dfc9bb71 (patch)
tree8aae2ebccbc73710518219c2293e4430b333cce1 /pylint/checkers/variables.py
parent2a4b773b5347e09293f76f61ffdb0a9c2dafd3c7 (diff)
downloadpylint-3da335cc152191fb9f84bc3249d81951dfc9bb71.tar.gz
fix comment
Diffstat (limited to 'pylint/checkers/variables.py')
-rw-r--r--pylint/checkers/variables.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/checkers/variables.py b/pylint/checkers/variables.py
index e2d4ecc..db99e97 100644
--- a/pylint/checkers/variables.py
+++ b/pylint/checkers/variables.py
@@ -795,7 +795,7 @@ builtins. Remember that you should avoid to define new builtins when possible.'
and isinstance(node.parent, astroid.Assign)
and node.parent == found_node[0].parent):
lhs = found_node[0].parent.targets[0]
- if lhs.name == name: # this name is being in this very statement
+ if lhs.name == name: # this name is defined in this very statement
found_node = None
if found_node:
consumed[name] = found_node