Skip to content

Commit a878bd3

Browse files
serhiy-storchakaerlend-aasland
authored andcommitted
bpo-29918: Add missed "const" modifiers in C API documentation. (#846)
GitHub-Issue-Link: python/cpython#74104
1 parent 71ec658 commit a878bd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/howto/clinic.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1050,7 +1050,7 @@ Currently Argument Clinic supports only a few return converters:
10501050
DecodeFSDefault
10511051
10521052
None of these take parameters. For the first three, return -1 to indicate
1053-
error. For ``DecodeFSDefault``, the return type is ``char *``; return a NULL
1053+
error. For ``DecodeFSDefault``, the return type is ``const char *``; return a NULL
10541054
pointer to indicate an error.
10551055

10561056
(There's also an experimental ``NoneType`` converter, which lets you

0 commit comments

Comments
 (0)