diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2017-04-05 09:00:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-05 09:00:42 (GMT) |
commit | bae6881b4215b2613ad08ef0dc7bed7743c2b8cc (patch) | |
tree | 927679a599d42527b25585042779f78395d5e45d /Objects/clinic/floatobject.c.h | |
parent | 5affd23e6f42125998724787025080a24839266e (diff) | |
download | cpython-bae6881b4215b2613ad08ef0dc7bed7743c2b8cc.zip cpython-bae6881b4215b2613ad08ef0dc7bed7743c2b8cc.tar.gz cpython-bae6881b4215b2613ad08ef0dc7bed7743c2b8cc.tar.bz2 |
Update Argument Clinic generated code for bpo-29878. (#1001)
Diffstat (limited to 'Objects/clinic/floatobject.c.h')
-rw-r--r-- | Objects/clinic/floatobject.c.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/clinic/floatobject.c.h b/Objects/clinic/floatobject.c.h index d2680b5..d9ac39d 100644 --- a/Objects/clinic/floatobject.c.h +++ b/Objects/clinic/floatobject.c.h @@ -171,7 +171,7 @@ static PyObject * float_new(PyTypeObject *type, PyObject *args, PyObject *kwargs) { PyObject *return_value = NULL; - PyObject *x = Py_False; + PyObject *x = _PyLong_Zero; if ((type == &PyFloat_Type) && !_PyArg_NoKeywords("float", kwargs)) { @@ -313,4 +313,4 @@ float___format__(PyObject *self, PyObject *arg) exit: return return_value; } -/*[clinic end generated code: output=a3dafb0f6c6f1514 input=a9049054013a1b77]*/ +/*[clinic end generated code: output=dc6b0b67a7e40c93 input=a9049054013a1b77]*/ |