Content-Length: 262825 | pFad | http://github.com/l3aalteshuva/devguide/commit/2f81c6b32407988c977a227afa5b5f961c38b8b1

4C python/cpython#95007: Remove the NoneType return converter from Argum… · l3aalteshuva/devguide@2f81c6b · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/l3aalteshuva/devguide/commit/2f81c6b32407988c977a227afa5b5f961c38b8b1

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy