diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-02-19 02:16:30 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-19 02:16:30 (GMT) |
| commit | 138488750512b47f1773630f90e92ec5038b6978 (patch) | |
| tree | 20afe4cf0a2e7fc0f85a7136fa8cf20138836474 | |
| parent | ec2385e315fc6b28d92dfb4c97fefcbb1e7daa68 (diff) | |
| download | cpython-138488750512b47f1773630f90e92ec5038b6978.zip cpython-138488750512b47f1773630f90e92ec5038b6978.tar.gz cpython-138488750512b47f1773630f90e92ec5038b6978.tar.bz2 | |
closes bpo-43254: Fix *snprintf() man page refs. (GH-24563)
(cherry picked from commit e92d67dfbb4790df37aa6a0961fb6dc7e8d2fbbf)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
| -rw-r--r-- | Doc/c-api/conversion.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/conversion.rst b/Doc/c-api/conversion.rst index b310fcb..ee76acc 100644 --- a/Doc/c-api/conversion.rst +++ b/Doc/c-api/conversion.rst @@ -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 |
