mirror of
https://github.com/python/cpython.git
synced 2025-08-25 03:04:55 +00:00
bpo-46920: Remove disabled debug code added decades ago and likely unnecessary (GH-31812)
This commit is contained in:
parent
e885ac3d5f
commit
a52f82baf2
3 changed files with 0 additions and 42 deletions
|
@ -13623,14 +13623,6 @@ unicode_zfill_impl(PyObject *self, Py_ssize_t width)
|
|||
return u;
|
||||
}
|
||||
|
||||
#if 0
|
||||
static PyObject *
|
||||
unicode__decimal2ascii(PyObject *self)
|
||||
{
|
||||
return PyUnicode_TransformDecimalAndSpaceToASCII(self);
|
||||
}
|
||||
#endif
|
||||
|
||||
PyDoc_STRVAR(startswith__doc__,
|
||||
"S.startswith(prefix[, start[, end]]) -> bool\n\
|
||||
\n\
|
||||
|
@ -14216,11 +14208,6 @@ static PyMethodDef unicode_methods[] = {
|
|||
UNICODE___FORMAT___METHODDEF
|
||||
UNICODE_MAKETRANS_METHODDEF
|
||||
UNICODE_SIZEOF_METHODDEF
|
||||
#if 0
|
||||
/* These methods are just used for debugging the implementation. */
|
||||
{"_decimal2ascii", (PyCFunction) unicode__decimal2ascii, METH_NOARGS},
|
||||
#endif
|
||||
|
||||
{"__getnewargs__", unicode_getnewargs, METH_NOARGS},
|
||||
{NULL, NULL}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue