mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-111178: remove redundant casts for functions with correct signatures (#131673)
This commit is contained in:
parent
8cd29c2b53
commit
edbf7fb129
30 changed files with 96 additions and 101 deletions
|
@ -538,7 +538,7 @@ static PyTypeObject PyRecursingInfinitelyError_Type = {
|
|||
.tp_basicsize = sizeof(PyBaseExceptionObject),
|
||||
.tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
|
||||
.tp_doc = PyDoc_STR("Instantiating this exception starts infinite recursion."),
|
||||
.tp_init = (initproc)recurse_infinitely_error_init,
|
||||
.tp_init = recurse_infinitely_error_init,
|
||||
};
|
||||
|
||||
static PyMethodDef test_methods[] = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue