diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2019-06-01 21:47:49 +0200 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2019-06-01 21:47:49 +0200 |
commit | a63f18dfa7e15f8243409bd121011b7c01707582 (patch) | |
tree | fc7538300fb21cdcb4abe9d73e51c8acbe6c3cb1 /astroid/nodes.py | |
parent | b58d4628b7b40e0af882166ffe945f7cb9d2dbda (diff) | |
download | astroid-git-a63f18dfa7e15f8243409bd121011b7c01707582.tar.gz |
Add support for Python 3.8's `NamedExpr` nodes, which is part of assignment expressions.
Close #674
Diffstat (limited to 'astroid/nodes.py')
-rw-r--r-- | astroid/nodes.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/astroid/nodes.py b/astroid/nodes.py index 20672593..bf6911ac 100644 --- a/astroid/nodes.py +++ b/astroid/nodes.py @@ -59,6 +59,7 @@ from astroid.node_classes import ( Keyword, List, Name, + NamedExpr, Nonlocal, Pass, Print, @@ -149,6 +150,7 @@ ALL_NODE_CLASSES = ( List, ListComp, Name, + NamedExpr, Nonlocal, Module, Pass, |