Restored parameter name "self" since gdb needs exact specific parameter names.

This commit is contained in:
Serhiy Storchaka 2016-05-05 16:21:35 +03:00
parent 584e8aedc3
commit 24182a3aaa
1 changed files with 3 additions and 2 deletions

View File

@ -1078,6 +1078,7 @@ builtin_hasattr_impl(PyModuleDef *module, PyObject *obj, PyObject *name)
/*[clinic input]
id as builtin_id
self: self(type="PyModuleDef *")
obj as v: object
/
@ -1088,8 +1089,8 @@ This is guaranteed to be unique among simultaneously existing objects.
[clinic start generated code]*/
static PyObject *
builtin_id(PyModuleDef *module, PyObject *v)
/*[clinic end generated code: output=63635e497e09c2f7 input=57fb4a9aaff96384]*/
builtin_id(PyModuleDef *self, PyObject *v)
/*[clinic end generated code: output=0aa640785f697f65 input=5a534136419631f4]*/
{
return PyLong_FromVoidPtr(v);
}