Mercurial > cpython-lru_cache-weakref
diff Objects/floatobject.c @ 85157:e7f6cef7a4cc
Issue #18722: Remove uses of the "register" keyword in C code.
| author | Antoine Pitrou <solipsis@pitrou.net> |
|---|---|
| date | Tue, 13 Aug 2013 20:18:52 +0200 |
| parents | fc718c177ee6 |
| children | 0872257752c2 |
line wrap: on
line diff
--- a/Objects/floatobject.c Tue Aug 13 12:54:29 2013 +0300 +++ b/Objects/floatobject.c Tue Aug 13 20:18:52 2013 +0200 @@ -109,7 +109,7 @@ PyObject * PyFloat_FromDouble(double fval) { - register PyFloatObject *op = free_list; + PyFloatObject *op = free_list; if (op != NULL) { free_list = (PyFloatObject *) Py_TYPE(op); numfree--; @@ -241,7 +241,7 @@ static int convert_to_double(PyObject **v, double *dbl) { - register PyObject *obj = *v; + PyObject *obj = *v; if (PyLong_Check(obj)) { *dbl = PyLong_AsDouble(obj);
