Lines Matching refs:converters

151 the document (like "return converters" and "self converters").
725 Using real Argument Clinic converters, instead of "legacy converters"
730 you to use "legacy converters". "Legacy converters" are a convenience,
736 use Argument Clinic's real syntax for converters. Why? A couple
739 * The proper converters are far easier to read and clearer in their intent.
740 * There are some format units that are unsupported as "legacy converters",
745 won't be available to parameters using legacy converters.
748 converters instead of legacy converters.
750 In a nutshell, the syntax for Argument Clinic (non-legacy) converters
754 the same converters.
756 All arguments to Argument Clinic converters are keyword-only.
757 All Argument Clinic converters accept the following arguments:
771 In addition, some converters accept additional arguments. Here is a list
802 Only supported for the ``object`` and ``self`` converters. Specifies
820 Below is a table showing the mapping of legacy converters into real
821 Argument Clinic converters. On the left is the legacy converter,
881 Argument Clinic will show you all the converters it has
884 Just run ``Tools/clinic/clinic.py --converters`` to see the full list.
890 (or the ``'s*'``, ``'w*'``, ``'*y'``, or ``'z*'`` legacy converters),
896 Advanced converters
904 (But "legacy converters" don't support arguments. That's why we
1033 The syntax for return converters is similar to that of parameter converters.
1035 function itself. Return converters behave much the same as parameter converters;
1042 There's one additional complication when using return converters: how do you
1051 Currently Argument Clinic supports only a few return converters:
1075 To see all the return converters Argument Clinic supports, along with
1077 just run ``Tools/clinic/clinic.py --converters`` for the full list.
1091 * their converters, with all parameters,
1207 As we hinted at in the previous section... you can write your own converters!
1290 More sophisticated custom converters can insert custom C code to
1292 You can see more examples of custom converters in the CPython
1300 converters are themselves much simpler.
1302 Return converters must subclass ``CReturnConverter``.
1303 There are no examples yet of custom return converters,