mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
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:
parent
4caa61d20e
commit
c1cb227b3f
1 changed files with 2 additions and 2 deletions
|
|
@ -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]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue