diff options
author | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2009-03-17 15:42:38 +0100 |
---|---|---|
committer | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2009-03-17 15:42:38 +0100 |
commit | 08f95b4db950d92733729388a0eaf8c2eb3fb637 (patch) | |
tree | 068a85033d025228829761ccd175fe2bb97583c1 /protocols.py | |
parent | 0bfb18c9a9679a8bb658169a24aa8ac782362f91 (diff) | |
download | astroid-git-08f95b4db950d92733729388a0eaf8c2eb3fb637.tar.gz |
AugAssign should have assigned_stmts methods
--HG--
branch : _ast_compat
Diffstat (limited to 'protocols.py')
-rw-r--r-- | protocols.py | 1 |
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): |