You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 08:49:51 +08:00
More Python version comparison adjustments
This commit is contained in:
@@ -209,7 +209,7 @@ class Python37BaseParser(PythonParser):
|
||||
stmt ::= async_with_as_stmt
|
||||
"""
|
||||
|
||||
if self.version < 3.8:
|
||||
if self.version < (3, 8):
|
||||
rules_str += """
|
||||
stmt ::= async_with_stmt SETUP_ASYNC_WITH
|
||||
c_stmt ::= c_async_with_stmt SETUP_ASYNC_WITH
|
||||
|
Reference in New Issue
Block a user