From: Zachary Ware Date: Fri, 10 Jan 2014 03:41:23 +0000 (-0600) Subject: Closes #20200: Argument Clinic custom converter example should be in a X-Git-Tag: v3.4.0b3~192 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c1cb227b3fafd5cb112288e7c24466dff12d9a93;p=python Closes #20200: Argument Clinic custom converter example should be in a 'python' clinic block, not a 'clinic' clinic block. Patch written by Ryan Smith-Roberts. --- diff --git a/Doc/howto/clinic.rst b/Doc/howto/clinic.rst index 555fa68d41..2324142c64 100644 --- a/Doc/howto/clinic.rst +++ b/Doc/howto/clinic.rst @@ -821,10 +821,10 @@ On the other hand, if you have a lot of functions that will use the same type for ``self``, it's best to create your own converter, subclassing ``self_converter`` but overwriting the ``type`` member:: - /*[clinic input] + /*[python input] class PicklerObject_converter(self_converter): type = "PicklerObject *" - [clinic start generated code]*/ + [python start generated code]*/ /*[clinic input]