Skip to content

Commit 1384887

Browse files
miss-islingtonErlend Egeberg Aasland
andauthored
closes bpo-43254: Fix *snprintf() man page refs. (GH-24563)
(cherry picked from commit e92d67d) Co-authored-by: Erlend Egeberg Aasland <[email protected]>
1 parent ec2385e commit 1384887

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/c-api/conversion.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ Functions for number conversion and formatted string output.
1111
.. c:function:: int PyOS_snprintf(char *str, size_t size, const char *format, ...)
1212
1313
Output not more than *size* bytes to *str* according to the format string
14-
*format* and the extra arguments. See the Unix man page :manpage:`snprintf(2)`.
14+
*format* and the extra arguments. See the Unix man page :manpage:`snprintf(3)`.
1515
1616
1717
.. c:function:: int PyOS_vsnprintf(char *str, size_t size, const char *format, va_list va)
1818
1919
Output not more than *size* bytes to *str* according to the format string
2020
*format* and the variable argument list *va*. Unix man page
21-
:manpage:`vsnprintf(2)`.
21+
:manpage:`vsnprintf(3)`.
2222
2323
:c:func:`PyOS_snprintf` and :c:func:`PyOS_vsnprintf` wrap the Standard C library
2424
functions :c:func:`snprintf` and :c:func:`vsnprintf`. Their purpose is to

0 commit comments

Comments
 (0)