summaryrefslogtreecommitdiff
path: root/protocols.py
diff options
context:
space:
mode:
authorSylvain Thénault <sylvain.thenault@logilab.fr>2009-03-17 15:42:38 +0100
committerSylvain Thénault <sylvain.thenault@logilab.fr>2009-03-17 15:42:38 +0100
commit08f95b4db950d92733729388a0eaf8c2eb3fb637 (patch)
tree068a85033d025228829761ccd175fe2bb97583c1 /protocols.py
parent0bfb18c9a9679a8bb658169a24aa8ac782362f91 (diff)
downloadastroid-git-08f95b4db950d92733729388a0eaf8c2eb3fb637.tar.gz
AugAssign should have assigned_stmts methods
--HG-- branch : _ast_compat
Diffstat (limited to 'protocols.py')
-rw-r--r--protocols.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols.py b/protocols.py
index f98731e4..7449d35c 100644
--- a/protocols.py
+++ b/protocols.py
@@ -250,6 +250,7 @@ def assign_assigned_stmts(self, node, context=None, asspath=None):
for infered in _resolve_asspart(self.value.infer(context), asspath, context):
yield infered
nodes.Assign.assigned_stmts = raise_if_nothing_infered(assign_assigned_stmts)
+nodes.AugAssign.assigned_stmts = raise_if_nothing_infered(assign_assigned_stmts)
def _resolve_asspart(parts, asspath, context):