]> granicus.if.org Git - python/commitdiff
Closes #20200: Argument Clinic custom converter example should be in a
authorZachary Ware <zachary.ware@gmail.com>
Fri, 10 Jan 2014 03:41:23 +0000 (21:41 -0600)
committerZachary Ware <zachary.ware@gmail.com>
Fri, 10 Jan 2014 03:41:23 +0000 (21:41 -0600)
'python' clinic block, not a 'clinic' clinic block.  Patch written by
Ryan Smith-Roberts.

Doc/howto/clinic.rst

index 555fa68d417e8d967d95fa202c7d0d113a5ab123..2324142c64203c7600878cf30a2aae6606f08094 100644 (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]