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.
This commit is contained in:
Zachary Ware 2014-01-09 21:41:23 -06:00
parent 4caa61d20e
commit c1cb227b3f

View file

@ -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]