Skip to content

Commit 2f81c6b

Browse files
noamcohen97erlend-aasland
authored andcommitted
python/cpython#95007: Remove the NoneType return converter from Argument Clinic Doc (python/cpython#95529)
The converter was removed in python/cpython@74b5e4c
1 parent 4bb10ef commit 2f81c6b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Doc/howto/clinic.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1070,11 +1070,6 @@ None of these take parameters. For the first three, return -1 to indicate
10701070
error. For ``DecodeFSDefault``, the return type is ``const char *``; return a ``NULL``
10711071
pointer to indicate an error.
10721072

1073-
(There's also an experimental ``NoneType`` converter, which lets you
1074-
return ``Py_None`` on success or ``NULL`` on failure, without having
1075-
to increment the reference count on ``Py_None``. I'm not sure it adds
1076-
enough clarity to be worth using.)
1077-
10781073
To see all the return converters Argument Clinic supports, along with
10791074
their parameters (if any),
10801075
just run ``Tools/clinic/clinic.py --converters`` for the full list.

0 commit comments

Comments
 (0)