diff options
| author | Radu Ciorba <radu@devrandom.ro> | 2015-03-30 02:52:01 +0300 |
|---|---|---|
| committer | Radu Ciorba <radu@devrandom.ro> | 2015-03-30 02:52:01 +0300 |
| commit | 3da335cc152191fb9f84bc3249d81951dfc9bb71 (patch) | |
| tree | 8aae2ebccbc73710518219c2293e4430b333cce1 | |
| parent | 2a4b773b5347e09293f76f61ffdb0a9c2dafd3c7 (diff) | |
| download | pylint-3da335cc152191fb9f84bc3249d81951dfc9bb71.tar.gz | |
fix comment
| -rw-r--r-- | pylint/checkers/variables.py | 2 |
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 |
