diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2020-01-12 17:39:26 +0100 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2020-01-12 17:39:26 +0100 |
commit | 6591ee396bdf62a659ed1e3db71d131510626b8c (patch) | |
tree | e41b8bc9f097d94b33ea6bc3f556f41771d9b498 /astroid/rebuilder.py | |
parent | 9222f6360a4dd9ebe89c6f40d1cc7fc03eb00221 (diff) | |
download | astroid-git-6591ee396bdf62a659ed1e3db71d131510626b8c.tar.gz |
Make sure type_comment_kwonlyargs is set as well
Diffstat (limited to 'astroid/rebuilder.py')
-rw-r--r-- | astroid/rebuilder.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/astroid/rebuilder.py b/astroid/rebuilder.py index 0190fdec..1876605e 100644 --- a/astroid/rebuilder.py +++ b/astroid/rebuilder.py @@ -225,6 +225,7 @@ class TreeRebuilder: self.check_type_comment(child, parent=newnode) for child in node.kwonlyargs ] type_comment_posonlyargs = [] + type_comment_kwonlyargs = [] if PY38: type_comment_posonlyargs = [ self.check_type_comment(child, parent=newnode) |