diff --git a/uncompyle6/main.py b/uncompyle6/main.py index d7694810..0f032343 100644 --- a/uncompyle6/main.py +++ b/uncompyle6/main.py @@ -102,8 +102,7 @@ def decompile( __version__, co_pypy_str, bytecode_version, - " (%s)" % str(magic_int) if magic_int else "", - run_pypy_str, + " (%s)" % m, run_pypy_str, "\n# ".join(sys_version_lines), ) ) diff --git a/uncompyle6/util.py b/uncompyle6/util.py index 3c9a3420..d9f9c272 100644 --- a/uncompyle6/util.py +++ b/uncompyle6/util.py @@ -13,11 +13,6 @@ except: 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): """Work around Python's unorthogonal and unhelpful repr() for primitive float and complex."""