gh-95007: Remove the NoneType return converter from Argument Clinic Doc (#95529)

The converter was removed in 74b5e4ce80
This commit is contained in:
Noam Cohen 2022-08-01 16:07:35 +03:00 committed by GitHub
parent 664e96a98f
commit 347c783673
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions

View File

@ -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.