diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2020-01-12 17:01:08 +0100 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2020-01-12 17:01:08 +0100 |
commit | 9222f6360a4dd9ebe89c6f40d1cc7fc03eb00221 (patch) | |
tree | 8ea570ff6e97f27b648c8f72a628afb962afc0fc /astroid/rebuilder.py | |
parent | 061aaebea2be2d21831ef687cc4ba4a25d953c65 (diff) | |
download | astroid-git-9222f6360a4dd9ebe89c6f40d1cc7fc03eb00221.tar.gz |
Fix unbound local error caused by 061aaebea2be2d21831ef687cc4ba4a25d953c65
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 6cb36f67..0190fdec 100644 --- a/astroid/rebuilder.py +++ b/astroid/rebuilder.py @@ -224,6 +224,7 @@ class TreeRebuilder: type_comment_kwonlyargs = [ self.check_type_comment(child, parent=newnode) for child in node.kwonlyargs ] + type_comment_posonlyargs = [] if PY38: type_comment_posonlyargs = [ self.check_type_comment(child, parent=newnode) |