Skip to content

Commit 09bc3ba

Browse files
committed
Fixed versioning check
1 parent 60a21f2 commit 09bc3ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/asthelper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def _handle_functions(self, node):
9191
type_hint = None
9292
if arg.annotation is not None:
9393
# ast.unparse doesn't work for python <= 3.8
94-
if sys.version_info[0] == 3 and sys.version_info[1] == 8:
94+
if sys.version_info[0] == 3 and sys.version_info[1] <= 8:
9595
from unparse import Unparser
9696
from io import StringIO
9797
v = StringIO()

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy