mirror of
https://github.com/python/cpython.git
synced 2025-08-25 19:24:42 +00:00
bpo-33012: Fix invalid function cast warnings with gcc 8. (GH-6749)
Fix invalid function cast warnings with gcc 8 for method conventions different from METH_NOARGS, METH_O and METH_VARARGS excluding Argument Clinic generated code.
This commit is contained in:
parent
81524022d0
commit
62be74290a
38 changed files with 174 additions and 174 deletions
|
@ -13948,7 +13948,7 @@ static PyMethodDef unicode_methods[] = {
|
|||
UNICODE_ISIDENTIFIER_METHODDEF
|
||||
UNICODE_ISPRINTABLE_METHODDEF
|
||||
UNICODE_ZFILL_METHODDEF
|
||||
{"format", (PyCFunction) do_string_format, METH_VARARGS | METH_KEYWORDS, format__doc__},
|
||||
{"format", (PyCFunction)(void(*)(void)) do_string_format, METH_VARARGS | METH_KEYWORDS, format__doc__},
|
||||
{"format_map", (PyCFunction) do_string_format_map, METH_O, format_map__doc__},
|
||||
UNICODE___FORMAT___METHODDEF
|
||||
UNICODE_MAKETRANS_METHODDEF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue