You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 09:22:40 +08:00
"make check-short" now works
This commit is contained in:
@@ -2,11 +2,9 @@
|
||||
# Until such time it is fixed, we'll do a better.
|
||||
# More could be done here though.
|
||||
|
||||
from math import copysign
|
||||
|
||||
def is_negative_zero(n):
|
||||
"""Returns true if n is -0.0"""
|
||||
return n == 0.0 and copysign(1, n) == -1
|
||||
return n == 0.0 # and copysign(1, n) == -1
|
||||
|
||||
def better_repr(v):
|
||||
"""Work around Python's unorthogonal and unhelpful repr() for primitive float
|
||||
|
Reference in New Issue
Block a user