summaryrefslogtreecommitdiffstats
path: root/Python/bltinmodule.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-05-02 10:45:20 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-05-02 10:45:20 (GMT)
commit7a9579c0ce02ff0254c6aa02952dbcdcdbac6d33 (patch)
tree3312b0e777eb609662c76fc13971f888f607f00c /Python/bltinmodule.c
parent312f2085681309a2566e5096925ef9b51315685a (diff)
downloadcpython-7a9579c0ce02ff0254c6aa02952dbcdcdbac6d33.zip
cpython-7a9579c0ce02ff0254c6aa02952dbcdcdbac6d33.tar.gz
cpython-7a9579c0ce02ff0254c6aa02952dbcdcdbac6d33.tar.bz2
Got rid of redundand "self" parameter declarations.
Argument Clinic is now able to infer all needed information.
Diffstat (limited to 'Python/bltinmodule.c')
-rw-r--r--Python/bltinmodule.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 0637a2d..6e0d736 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -1078,7 +1078,6 @@ builtin_hasattr_impl(PyModuleDef *module, PyObject *obj, PyObject *name)
/*[clinic input]
id as builtin_id
- self: self(type="PyModuleDef *")
obj as v: object
/
@@ -1089,8 +1088,8 @@ This is guaranteed to be unique among simultaneously existing objects.
[clinic start generated code]*/
static PyObject *
-builtin_id(PyModuleDef *self, PyObject *v)
-/*[clinic end generated code: output=0aa640785f697f65 input=5a534136419631f4]*/
+builtin_id(PyModuleDef *module, PyObject *v)
+/*[clinic end generated code: output=63635e497e09c2f7 input=57fb4a9aaff96384]*/
{
return PyLong_FromVoidPtr(v);
}