You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 08:49:51 +08:00
formatting
This commit is contained in:
@@ -11,8 +11,6 @@ import os
|
||||
import sys
|
||||
import time
|
||||
|
||||
from xdis.version_info import version_tuple_to_str
|
||||
|
||||
program = "uncompyle6"
|
||||
|
||||
__doc__ = """
|
||||
@@ -80,16 +78,29 @@ def usage():
|
||||
|
||||
|
||||
def main_bin():
|
||||
if not (sys.version_info[0:2] in ((2, 6), (2, 7), (3, 0),
|
||||
(3, 1), (3, 2), (3, 3),
|
||||
(3, 4), (3, 5), (3, 6),
|
||||
(3, 7), (3, 8), (3, 9), (3, 10)
|
||||
)):
|
||||
print('Error: %s requires Python 2.4-3.10' % program,
|
||||
file=sys.stderr)
|
||||
if not (
|
||||
sys.version_info[0:2]
|
||||
in (
|
||||
(2, 6),
|
||||
(2, 7),
|
||||
(3, 0),
|
||||
(3, 1),
|
||||
(3, 2),
|
||||
(3, 3),
|
||||
(3, 4),
|
||||
(3, 5),
|
||||
(3, 6),
|
||||
(3, 7),
|
||||
(3, 8),
|
||||
(3, 9),
|
||||
(3, 10),
|
||||
(3, 11),
|
||||
)
|
||||
):
|
||||
print("Error: %s requires Python 2.4-3.11" % program, file=sys.stderr)
|
||||
sys.exit(-1)
|
||||
|
||||
do_verify = recurse_dirs = False
|
||||
recurse_dirs = False
|
||||
numproc = 0
|
||||
outfile = "-"
|
||||
out_base = None
|
||||
|
Reference in New Issue
Block a user