commit | 428f0641ec34902b0cce2cfdca833c79e6fdab7c | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sun Mar 18 18:35:15 2007 +0000 |
committer | Georg Brandl <georg@python.org> | Sun Mar 18 18:35:15 2007 +0000 |
tree | 24f29c55a16cb1377b721253ec847c1885c70edb | |
parent | 9091e3a423b1f7a21b1b191c65381abcb5702ab6 [diff] [blame] |
Remove the deprecated and useless "pend" argument from PyFloat_FromString. (fixes bug #1650903)
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 @@ PyFloatObject *po = (PyFloatObject *)o; return PyFloat_FromDouble(po->ob_fval); } - return PyFloat_FromString(o, NULL); + return PyFloat_FromString(o); } /* Operations on sequences */