diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2014-01-10 03:41:23 (GMT) |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2014-01-10 03:41:23 (GMT) |
commit | c1cb227b3fafd5cb112288e7c24466dff12d9a93 (patch) | |
tree | 790944aaa93588e5e06be33f1ad51cfcbe89bc19 /Doc | |
parent | 4caa61d20e5a64fbe57b46fa2890394c18247c93 (diff) | |
download | cpython-c1cb227b3fafd5cb112288e7c24466dff12d9a93.zip cpython-c1cb227b3fafd5cb112288e7c24466dff12d9a93.tar.gz cpython-c1cb227b3fafd5cb112288e7c24466dff12d9a93.tar.bz2 |
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.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/howto/clinic.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/howto/clinic.rst b/Doc/howto/clinic.rst index 555fa68..2324142 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] |