mirror of
https://github.com/python/cpython.git
synced 2026-05-06 12:49:07 -04:00
gh-111178: remove redundant casts for functions with correct signatures (#131673)
This commit is contained in:
@@ -1100,7 +1100,7 @@ static PyTypeObject PyFormatterIter_Type = {
|
||||
describing the parsed elements. It's a wrapper around
|
||||
stringlib/string_format.h's MarkupIterator */
|
||||
static PyObject *
|
||||
formatter_parser(PyObject *ignored, PyObject *self)
|
||||
formatter_parser(PyObject *Py_UNUSED(module), PyObject *self)
|
||||
{
|
||||
formatteriterobject *it;
|
||||
|
||||
@@ -1236,7 +1236,7 @@ static PyTypeObject PyFieldNameIter_Type = {
|
||||
field_name_split. The iterator it returns is a
|
||||
FieldNameIterator */
|
||||
static PyObject *
|
||||
formatter_field_name_split(PyObject *ignored, PyObject *self)
|
||||
formatter_field_name_split(PyObject *Py_UNUSED(module), PyObject *self)
|
||||
{
|
||||
SubString first;
|
||||
Py_ssize_t first_idx;
|
||||
|
||||
Reference in New Issue
Block a user