diff options
author | Larry Hastings <larry@hastings.org> | 2013-11-24 12:41:57 (GMT) |
---|---|---|
committer | Larry Hastings <larry@hastings.org> | 2013-11-24 12:41:57 (GMT) |
commit | dc6aaec9e3698738ede81f4bcc1ee3815dde0231 (patch) | |
tree | eaada55c8c0d0d697f80c9d818bf8656a0340a8c /Tools/clinic | |
parent | 2f9a9aaf213f9fea109c5d4828d1bbff4b3a0b2b (diff) | |
download | cpython-dc6aaec9e3698738ede81f4bcc1ee3815dde0231.zip cpython-dc6aaec9e3698738ede81f4bcc1ee3815dde0231.tar.gz cpython-dc6aaec9e3698738ede81f4bcc1ee3815dde0231.tar.bz2 |
Clinic: fix "self converters" with METH_NOARGS functions.
Diffstat (limited to 'Tools/clinic')
-rwxr-xr-x | Tools/clinic/clinic.py | 2 |
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=""): |