8000 [3.10] gh-94430: Allow params named `module` or `self` with custom C names in AC (GH-94431) by erlend-aasland · Pull Request #94650 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.10] gh-94430: Allow params named module or self with custom C names in AC (GH-94431) #94650

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 7, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
_PyCFunction_CAST is not in 3.10
  • Loading branch information
erlend-aasland committed Jul 7, 2022
commit e8a29322f2951addb776d3ac240e628fd74dc8d7
4 changes: 2 additions & 2 deletions Lib/test/clinic.test
Original file line number Diff line number Diff line change
Expand Up @@ -3321,7 +3321,7 @@ PyDoc_STRVAR(test_paramname_module__doc__,
"\n");

#define TEST_PARAMNAME_MODULE_METHODDEF \
{"test_paramname_module", _PyCFunction_CAST(test_paramname_module), METH_FASTCALL|METH_KEYWORDS, test_paramname_module__doc__},
{"test_paramname_module", (PyCFunction)(void(*)(void))test_paramname_module, METH_FASTCALL|METH_KEYWORDS, test_paramname_module__doc__},

static PyObject *
test_paramname_module_impl(PyObject *module, PyObject *mod);
Expand All @@ -3348,4 +3348,4 @@ exit:

static PyObject *
test_paramname_module_impl(PyObject *module, PyObject *mod)
/*[clinic end generated code: output=23379a7ffa65c514 input=afefe259667f13ba]*/
/*[clinic end generated code: output=2a6769d34d1b2be0 input=afefe259667f13ba]*/
0