]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
closes bpo-43254: Fix *snprintf() man page refs. (GH-24563)
authorErlend Egeberg Aasland <erlend.aasland@innova.no>
Fri, 19 Feb 2021 01:53:33 +0000 (02:53 +0100)
committerGitHub <noreply@github.com>
Fri, 19 Feb 2021 01:53:33 +0000 (19:53 -0600)
Doc/c-api/conversion.rst

index efbaa52e2dc46681540ce49df9eaf789db3941e3..e47072f04747ab3b43d491e515c5dfc65e72f5dc 100644 (file)
@@ -11,14 +11,14 @@ Functions for number conversion and formatted string output.
 .. c:function:: int PyOS_snprintf(char *str, size_t size,  const char *format, ...)
 
    Output not more than *size* bytes to *str* according to the format string
-   *format* and the extra arguments. See the Unix man page :manpage:`snprintf(2)`.
+   *format* and the extra arguments. See the Unix man page :manpage:`snprintf(3)`.
 
 
 .. c:function:: int PyOS_vsnprintf(char *str, size_t size, const char *format, va_list va)
 
    Output not more than *size* bytes to *str* according to the format string
    *format* and the variable argument list *va*. Unix man page
-   :manpage:`vsnprintf(2)`.
+   :manpage:`vsnprintf(3)`.
 
 :c:func:`PyOS_snprintf` and :c:func:`PyOS_vsnprintf` wrap the Standard C library
 functions :c:func:`snprintf` and :c:func:`vsnprintf`. Their purpose is to