[Python-checkins] r72034 - in python/branches/py3k: Doc/c-api/conversion.rst
georg.brandl
python-checkins at python.org
Mon Apr 27 18:54:23 CEST 2009
Author: georg.brandl
Date: Mon Apr 27 18:54:22 2009
New Revision: 72034
Log:
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.
........
Modified:
python/branches/py3k/ (props changed)
python/branches/py3k/Doc/c-api/conversion.rst
Modified: python/branches/py3k/Doc/c-api/conversion.rst
==============================================================================
--- python/branches/py3k/Doc/c-api/conversion.rst (original)
+++ python/branches/py3k/Doc/c-api/conversion.rst Mon Apr 27 18:54:22 2009
@@ -63,7 +63,7 @@
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 @@
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.
More information about the Python-checkins
mailing list