8000 bpo-29918: Add missed "const" modifiers in C API documentation. (#846) · AA-Turner/devguide@110adf4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 110adf4

Browse files
serhiy-storchakaAA-Turner
authored andcommitted
bpo-29918: Add missed "const" modifiers in C API documentation. (python#846)
1 parent b17ea88 commit 110adf4

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)
0