summaryrefslogtreecommitdiffstats
path: root/Python/bltinmodule.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-05-05 13:21:35 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-05-05 13:21:35 (GMT)
commit24182a3aaa6054dc00658cb96e6c606cc459a946 (patch)
tree480be993a0463e02fdd7219180bfb7c386f1c5c2 /Python/bltinmodule.c
parent584e8aedc3d66721efcdcbd1a43d4c5b7476427b (diff)
downloadcpython-24182a3aaa6054dc00658cb96e6c606cc459a946.zip
cpython-24182a3aaa6054dc00658cb96e6c606cc459a946.tar.gz
cpython-24182a3aaa6054dc00658cb96e6c606cc459a946.tar.bz2
Restored parameter name "self" since gdb needs exact specific parameter names.
Diffstat (limited to 'Python/bltinmodule.c')
-rw-r--r--Python/bltinmodule.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 6e0d736..0637a2d 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -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);
}