summaryrefslogtreecommitdiffstats
path: root/Objects/floatobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/floatobject.c')
-rw-r--r--Objects/floatobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/floatobject.c b/Objects/floatobject.c
index a2c281e..2b61d2c 100644
--- a/Objects/floatobject.c
+++ b/Objects/floatobject.c
@@ -1172,7 +1172,7 @@ float_hex(PyObject *v)
return float_str((PyFloatObject *)v);
if (x == 0.0) {
- if(copysign(1.0, x) == -1.0)
+ if (copysign(1.0, x) == -1.0)
return PyUnicode_FromString("-0x0.0p+0");
else
return PyUnicode_FromString("0x0.0p+0");