diff options
Diffstat (limited to 'Objects/intobject.c')
| -rw-r--r-- | Objects/intobject.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Objects/intobject.c b/Objects/intobject.c index e3139542e9..eacad9dfbf 100644 --- a/Objects/intobject.c +++ b/Objects/intobject.c @@ -1143,9 +1143,21 @@ int__format__(PyObject *self, PyObject *args) return NULL; } +#if 0 +static PyObject * +int_is_finite(PyObject *v) +{ + Py_RETURN_TRUE; +} +#endif + static PyMethodDef int_methods[] = { {"conjugate", (PyCFunction)int_int, METH_NOARGS, "Returns self, the complex conjugate of any int."}, +#if 0 + {"is_finite", (PyCFunction)int_is_finite, METH_NOARGS, + "Returns always True."}, +#endif {"__trunc__", (PyCFunction)int_int, METH_NOARGS, "Truncating an Integral returns itself."}, {"__getnewargs__", (PyCFunction)int_getnewargs, METH_NOARGS}, |
