[Python-checkins] cpython: Closes #20200: Argument Clinic custom converter example should be in a

zach.ware python-checkins at python.org
Fri Jan 10 04:41:45 CET 2014


http://hg.python.org/cpython/rev/5a8301002f5a
changeset: 88386:5a8301002f5a
user: Zachary Ware <zachary.ware at gmail.com>
date: Thu Jan 09 21:41:23 2014 -0600
summary:
 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.
files:
 Doc/howto/clinic.rst | 4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Doc/howto/clinic.rst b/Doc/howto/clinic.rst
--- a/Doc/howto/clinic.rst
+++ b/Doc/howto/clinic.rst
@@ -821,10 +821,10 @@
 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]
 
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /