summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2013-11-24 12:41:57 (GMT)
committerLarry Hastings <larry@hastings.org>2013-11-24 12:41:57 (GMT)
commitdc6aaec9e3698738ede81f4bcc1ee3815dde0231 (patch)
treeeaada55c8c0d0d697f80c9d818bf8656a0340a8c /Tools
parent2f9a9aaf213f9fea109c5d4828d1bbff4b3a0b2b (diff)
downloadcpython-dc6aaec9e3698738ede81f4bcc1ee3815dde0231.zip
cpython-dc6aaec9e3698738ede81f4bcc1ee3815dde0231.tar.gz
cpython-dc6aaec9e3698738ede81f4bcc1ee3815dde0231.tar.bz2
Clinic: fix "self converters" with METH_NOARGS functions.
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/clinic/clinic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/clinic/clinic.py b/Tools/clinic/clinic.py
index cac90e1..c332b0c 100755
--- a/Tools/clinic/clinic.py
+++ b/Tools/clinic/clinic.py
@@ -403,7 +403,7 @@ PyDoc_STRVAR({c_basename}__doc__,
def meth_noargs_pyobject_template(self, methoddef_flags=""):
return self.template_base("METH_NOARGS", methoddef_flags) + """
static PyObject *
-{c_basename}({self_type}{self_name})
+{c_basename}({impl_parameters})
"""
def meth_noargs_template(self, methoddef_flags=""):