Small int thing and sync with decompyle3

This commit is contained in:
rocky 2020-09-01 16:18:10 -04:00
parent 71c17c4e53
commit 33bff4dc47
3 changed files with 3 additions and 4 deletions

View File

@ -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

View File

@ -74,8 +74,8 @@ if PYTHON3:
intern = sys.intern
L65536 = 65536
def long(l):
return l
def long(num):
return num
else:

View File

@ -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)