diff options
author | Georg Brandl <georg@python.org> | 2007-03-18 18:35:15 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-03-18 18:35:15 (GMT) |
commit | 428f0641ec34902b0cce2cfdca833c79e6fdab7c (patch) | |
tree | 24f29c55a16cb1377b721253ec847c1885c70edb /Objects/abstract.c | |
parent | 9091e3a423b1f7a21b1b191c65381abcb5702ab6 (diff) | |
download | cpython-428f0641ec34902b0cce2cfdca833c79e6fdab7c.zip cpython-428f0641ec34902b0cce2cfdca833c79e6fdab7c.tar.gz cpython-428f0641ec34902b0cce2cfdca833c79e6fdab7c.tar.bz2 |
Remove the deprecated and useless "pend" argument from
PyFloat_FromString. (fixes bug #1650903)
Diffstat (limited to 'Objects/abstract.c')
-rw-r--r-- | Objects/abstract.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/abstract.c b/Objects/abstract.c index a301287..5a34b96 100644 --- a/Objects/abstract.c +++ b/Objects/abstract.c @@ -968,7 +968,7 @@ PyNumber_Float(PyObject *o) PyFloatObject *po = (PyFloatObject *)o; return PyFloat_FromDouble(po->ob_fval); } - return PyFloat_FromString(o, NULL); + return PyFloat_FromString(o); } /* Operations on sequences */ |