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 conversions
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2018-2019 by Rocky Bernstein
|
||||
# Copyright (c) 2018-2019, 2021 by Rocky Bernstein
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
|
@@ -398,7 +398,7 @@ def customize_for_version3(self, version):
|
||||
self.default(node)
|
||||
|
||||
self.n_call = n_call
|
||||
elif version < 3.2:
|
||||
elif version < (3, 2):
|
||||
|
||||
def n_call(node):
|
||||
mapping = self._get_mapping(node)
|
||||
|
Reference in New Issue
Block a user