mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
closes bpo-39415: Remove unused codes from longobject.c complexobject.c floatobject.c. (GH-18105)
This commit is contained in:
parent
47be7d0108
commit
0d5eac8c32
3 changed files with 0 additions and 68 deletions
|
|
@ -5411,13 +5411,6 @@ int_bit_length_impl(PyObject *self)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
#if 0
|
||||
static PyObject *
|
||||
long_is_finite(PyObject *v)
|
||||
{
|
||||
Py_RETURN_TRUE;
|
||||
}
|
||||
#endif
|
||||
|
||||
/*[clinic input]
|
||||
int.as_integer_ratio
|
||||
|
|
@ -5574,10 +5567,6 @@ static PyMethodDef long_methods[] = {
|
|||
{"conjugate", long_long_meth, METH_NOARGS,
|
||||
"Returns self, the complex conjugate of any int."},
|
||||
INT_BIT_LENGTH_METHODDEF
|
||||
#if 0
|
||||
{"is_finite", (PyCFunction)long_is_finite, METH_NOARGS,
|
||||
"Returns always True."},
|
||||
#endif
|
||||
INT_TO_BYTES_METHODDEF
|
||||
INT_FROM_BYTES_METHODDEF
|
||||
INT_AS_INTEGER_RATIO_METHODDEF
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue