mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Restored parameter name "self" since gdb needs exact specific parameter names.
This commit is contained in:
parent
584e8aedc3
commit
24182a3aaa
1 changed files with 3 additions and 2 deletions
|
@ -1078,6 +1078,7 @@ builtin_hasattr_impl(PyModuleDef *module, PyObject *obj, PyObject *name)
|
||||||
/*[clinic input]
|
/*[clinic input]
|
||||||
id as builtin_id
|
id as builtin_id
|
||||||
|
|
||||||
|
self: self(type="PyModuleDef *")
|
||||||
obj as v: object
|
obj as v: object
|
||||||
/
|
/
|
||||||
|
|
||||||
|
@ -1088,8 +1089,8 @@ This is guaranteed to be unique among simultaneously existing objects.
|
||||||
[clinic start generated code]*/
|
[clinic start generated code]*/
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
builtin_id(PyModuleDef *module, PyObject *v)
|
builtin_id(PyModuleDef *self, PyObject *v)
|
||||||
/*[clinic end generated code: output=63635e497e09c2f7 input=57fb4a9aaff96384]*/
|
/*[clinic end generated code: output=0aa640785f697f65 input=5a534136419631f4]*/
|
||||||
{
|
{
|
||||||
return PyLong_FromVoidPtr(v);
|
return PyLong_FromVoidPtr(v);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue