From: Mark Dickinson <dickinsm@gmail.com>
Date: Tue, 6 Jul 2010 15:11:44 +0000 (+0000)
Subject: Style nit.
X-Git-Tag: v3.2a1~288
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=21a1f734fbc4216db32f5b141160a15e5dd941b5;p=python

Style nit.
---

diff --git a/Objects/floatobject.c b/Objects/floatobject.c
index 2b61d2ccda..c75720354f 100644
--- a/Objects/floatobject.c
+++ b/Objects/floatobject.c
@@ -1422,7 +1422,7 @@ float_fromhex(PyObject *cls, PyObject *arg)
                     round_up = 1;
                     break;
                 }
-        if (round_up == 1) {
+        if (round_up) {
             x += 2*half_eps;
             if (top_exp == DBL_MAX_EXP &&
                 x == ldexp((double)(2*half_eps), DBL_MANT_DIG))