diff options
| author | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2009-03-13 15:15:31 +0100 |
|---|---|---|
| committer | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2009-03-13 15:15:31 +0100 |
| commit | 0ae8fc046952ec2cb56758012873e823f7584c9e (patch) | |
| tree | 3cce7619fd859121dc1784317f145f341debe556 /nodes.py | |
| parent | 68bfe86607f50209c3e9482143ba6c9f091dd38f (diff) | |
| download | astroid-git-0ae8fc046952ec2cb56758012873e823f7584c9e.tar.gz | |
Assert is a statement node
--HG--
branch : _ast_compat
Diffstat (limited to 'nodes.py')
| -rw-r--r-- | nodes.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -323,7 +323,7 @@ def replace_child(self, child, newchild): child.parent = None sequence[sequence.index(child)] = newchild -for klass in (Assign, AugAssign, Break, Class, Continue, Delete, Discard, +for klass in (Assign, AugAssign, Assert, Break, Class, Continue, Delete, Discard, ExceptHandler, For, From, Function, Global, If, Import, Pass, Print, Raise, Return, TryExcept, TryFinally, While, With, Yield): klass.is_statement = True |
