Lint-like changes from VSCode

Also allow 3.11 to run this
This commit is contained in:
rocky
2022-09-21 08:27:55 -04:00
parent 62b816c60b
commit 8c85260852
3 changed files with 21 additions and 38 deletions

View File

@@ -5,8 +5,8 @@ import sys
"""Setup script for the 'uncompyle6' distribution."""
SYS_VERSION = sys.version_info[0:2]
if not ((2, 4) <= SYS_VERSION < (3, 11)):
mess = "Python Release 2.6 .. 3.10 are supported in this code branch."
if not ((2, 4) <= SYS_VERSION < (3, 12)):
mess = "Python Release 2.6 .. 3.11 are supported in this code branch."
if (2, 4) <= SYS_VERSION <= (2, 7):
mess += (
"\nFor your Python, version %s, use the python-2.4 code/branch."