diff options
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) |