diff options
author | Georg Brandl <georg@python.org> | 2009-04-27 16:54:22 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-04-27 16:54:22 (GMT) |
commit | 57e1b503cadb2e54d9628f666dfc8112d9ef0afd (patch) | |
tree | 89f6444cf614ad65328fc60119b6c51b44489ac1 | |
parent | 5bc80308d7d27bf35f1a8a5ac93469219f4515cf (diff) | |
download | cpython-57e1b503cadb2e54d9628f666dfc8112d9ef0afd.zip cpython-57e1b503cadb2e54d9628f666dfc8112d9ef0afd.tar.gz cpython-57e1b503cadb2e54d9628f666dfc8112d9ef0afd.tar.bz2 |
Merged revisions 71955,71962 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71955 | georg.brandl | 2009-04-26 08:01:04 +0200 (So, 26 Apr 2009) | 1 line
Mostly formatting nits, and "and-ed together" -> "or-ed together" flags.
........
r71962 | eric.smith | 2009-04-26 12:05:11 +0200 (So, 26 Apr 2009) | 1 line
Note that the caller is resposible for freeing the result of PyOS_double_to_string.
........
-rw-r--r-- | Doc/c-api/conversion.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/c-api/conversion.rst b/Doc/c-api/conversion.rst index a2e2542..52fe197 100644 --- a/Doc/c-api/conversion.rst +++ b/Doc/c-api/conversion.rst @@ -63,7 +63,7 @@ The following functions provide locale-independent string to number conversions. See the Unix man page :manpage:`strtod(2)` for details. -.. cfunction:: char * PyOS_ascii_formatd(char *buffer, size_t buf_len, const char *format, double d) +.. cfunction:: char* PyOS_ascii_formatd(char *buffer, size_t buf_len, const char *format, double d) Convert a :ctype:`double` to a string using the ``'.'`` as the decimal separator. *format* is a :cfunc:`printf`\ -style format string specifying the @@ -118,13 +118,13 @@ The following functions provide locale-independent string to number conversions. See the Unix man page :manpage:`atof(2)` for details. -.. cfunction:: char * PyOS_stricmp(char *s1, char *s2) +.. cfunction:: char* PyOS_stricmp(char *s1, char *s2) Case insensitive comparison of strings. The function works almost identically to :cfunc:`strcmp` except that it ignores the case. -.. cfunction:: char * PyOS_strnicmp(char *s1, char *s2, Py_ssize_t size) +.. cfunction:: char* PyOS_strnicmp(char *s1, char *s2, Py_ssize_t size) Case insensitive comparison of strings. The function works almost identically to :cfunc:`strncmp` except that it ignores the case. |