mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
gh-84805: Autogenerate signature for METH_NOARGS and METH_O extension functions (GH-107794)
This commit is contained in:
parent
23a6db98f2
commit
3901c991e1
10 changed files with 227 additions and 17 deletions
|
@ -192,7 +192,9 @@ static PyMethodDef meth_methods[] = {
|
|||
static PyObject *
|
||||
meth_get__text_signature__(PyCFunctionObject *m, void *closure)
|
||||
{
|
||||
return _PyType_GetTextSignatureFromInternalDoc(m->m_ml->ml_name, m->m_ml->ml_doc);
|
||||
return _PyType_GetTextSignatureFromInternalDoc(m->m_ml->ml_name,
|
||||
m->m_ml->ml_doc,
|
||||
m->m_ml->ml_flags);
|
||||
}
|
||||
|
||||
static PyObject *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue