We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60a21f2 commit 09bc3baCopy full SHA for 09bc3ba
python/asthelper.py
@@ -91,7 +91,7 @@ def _handle_functions(self, node):
91
type_hint = None
92
if arg.annotation is not None:
93
# ast.unparse doesn't work for python <= 3.8
94
- if sys.version_info[0] == 3 and sys.version_info[1] == 8:
+ if sys.version_info[0] == 3 and sys.version_info[1] <= 8:
95
from unparse import Unparser
96
from io import StringIO
97
v = StringIO()
0 commit comments