You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
merge hell
This commit is contained in:
@@ -102,8 +102,7 @@ def decompile(
|
|||||||
__version__,
|
__version__,
|
||||||
co_pypy_str,
|
co_pypy_str,
|
||||||
bytecode_version,
|
bytecode_version,
|
||||||
" (%s)" % str(magic_int) if magic_int else "",
|
" (%s)" % m, run_pypy_str,
|
||||||
run_pypy_str,
|
|
||||||
"\n# ".join(sys_version_lines),
|
"\n# ".join(sys_version_lines),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
@@ -13,11 +13,6 @@ except:
|
|||||||
|
|
||||||
from uncompyle6 import PYTHON_VERSION
|
from uncompyle6 import PYTHON_VERSION
|
||||||
|
|
||||||
def is_negative_zero(n):
|
|
||||||
"""Returns true if n is -0.0"""
|
|
||||||
return n == 0.0 and copysign(1, n) == -1
|
|
||||||
|
|
||||||
|
|
||||||
def better_repr(v, version):
|
def better_repr(v, version):
|
||||||
"""Work around Python's unorthogonal and unhelpful repr() for primitive float
|
"""Work around Python's unorthogonal and unhelpful repr() for primitive float
|
||||||
and complex."""
|
and complex."""
|
||||||
|
Reference in New Issue
Block a user