summaryrefslogtreecommitdiffstats
path: root/Doc/howto
diff options
context:
space:
mode:
authorNoam Cohen <noam@noam.me>2022-08-01 13:07:35 (GMT)
committerGitHub <noreply@github.com>2022-08-01 13:07:35 (GMT)
commit347c783673c22c3f37e21c485437404b67405512 (patch)
tree7b7da8f5684b835db3cdecf6314395eba15ff8a1 /Doc/howto
parent664e96a98fcc7572d4b049b70b74cdd63bd736c6 (diff)
downloadcpython-347c783673c22c3f37e21c485437404b67405512.zip
cpython-347c783673c22c3f37e21c485437404b67405512.tar.gz
cpython-347c783673c22c3f37e21c485437404b67405512.tar.bz2
gh-95007: Remove the NoneType return converter from Argument Clinic Doc (#95529)
The converter was removed in 74b5e4ce80858ac5c7d03411cb8cce7e6865f181
Diffstat (limited to 'Doc/howto')
-rw-r--r--Doc/howto/clinic.rst5
1 files changed, 0 insertions, 5 deletions
diff --git a/Doc/howto/clinic.rst b/Doc/howto/clinic.rst
index 2d36896..d634c4b 100644
--- a/Doc/howto/clinic.rst
+++ b/Doc/howto/clinic.rst
@@ -1070,11 +1070,6 @@ None of these take parameters. For the first three, return -1 to indicate
error. For ``DecodeFSDefault``, the return type is ``const char *``; return a ``NULL``
pointer to indicate an error.
-(There's also an experimental ``NoneType`` converter, which lets you
-return ``Py_None`` on success or ``NULL`` on failure, without having
-to increment the reference count on ``Py_None``. I'm not sure it adds
-enough clarity to be worth using.)
-
To see all the return converters Argument Clinic supports, along with
their parameters (if any),
just run ``Tools/clinic/clinic.py --converters`` for the full list.