[Python-checkins] r71382 - python/branches/py3k-short-float-repr/Python/pystrtod.c
eric.smith
python-checkins at python.org
Tue Apr 7 23:46:05 CEST 2009
Author: eric.smith
Date: Tue Apr 7 23:46:05 2009
New Revision: 71382
Log:
Fixed comment.
Modified:
python/branches/py3k-short-float-repr/Python/pystrtod.c
Modified: python/branches/py3k-short-float-repr/Python/pystrtod.c
==============================================================================
--- python/branches/py3k-short-float-repr/Python/pystrtod.c (original)
+++ python/branches/py3k-short-float-repr/Python/pystrtod.c Tue Apr 7 23:46:05 2009
@@ -519,10 +519,10 @@
};
-/* Convert a double d to a string, and put the result into the buffer buf.
+/* Convert a double d to a string, and return a PyMem_Malloc'd block of
+ memory contain the resulting string.
Arguments:
- buflen is the length of the provided buffer
d is the double to be converted
format_code is one of 'e', 'f', 'g', 'r' or 's'. 'e', 'f' and 'g'
correspond to '%e', '%f' and '%g'; 'r' and 's' correspond
More information about the Python-checkins
mailing list