You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-01 16:14:44 +08:00
Small int thing and sync with decompyle3
This commit is contained in:
2
tox.ini
2
tox.ini
@@ -3,7 +3,7 @@
|
||||
[flake8]
|
||||
exclude = .tox,./build,./trepan/processor/command/tmp
|
||||
filename = *.py
|
||||
ignore = C901,E113,E121,E122,E123,E124,E125,E126,E127,E128,E129,E201,E202,E203,E221,E222,E225,E226,E241,E242,E251,E261,E271,E272,E302,E401,E402,E501,F401,E701,E702
|
||||
ignore = C901,E113,E121,E122,E123,E124,E125,E126,E127,E128,E129,E201,E202,E203,E221,E222,E225,E226,E241,E242,E251,E261,E271,E272,E302,E401,E402,E501,F401,E701,E702,W503
|
||||
|
||||
[tox]
|
||||
envlist = py27, py34, pypy
|
||||
|
@@ -74,8 +74,8 @@ if PYTHON3:
|
||||
intern = sys.intern
|
||||
L65536 = 65536
|
||||
|
||||
def long(l):
|
||||
return l
|
||||
def long(num):
|
||||
return num
|
||||
|
||||
|
||||
else:
|
||||
|
@@ -41,7 +41,6 @@ def better_repr(v, version):
|
||||
else:
|
||||
return s
|
||||
elif isinstance(v, list):
|
||||
better_repr(v)
|
||||
if len(v) == 1:
|
||||
return "[%s,]" % better_repr(v[0], version)
|
||||
return "[%s]" % ", ".join(better_repr(i) for i in v)
|
||||
|
Reference in New Issue
Block a user