diff options
author | Eric Smith <eric@trueblade.com> | 2008-06-24 00:42:10 +0000 |
---|---|---|
committer | Eric Smith <eric@trueblade.com> | 2008-06-24 00:42:10 +0000 |
commit | 65fe47b9319e20cebf02d34f8abdbcda96d2fa22 (patch) | |
tree | 73451eac7ff36a4516fdb7130ef03ee8eafe97da /Python | |
parent | 57acc8f5ab751f0831a28a149c4fe44ca0beaf57 (diff) | |
download | cpython-git-65fe47b9319e20cebf02d34f8abdbcda96d2fa22.tar.gz |
Modified interface to _Py_[String|Unicode]InsertThousandsGrouping, in anticipation of fixing issue 3140.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/pystrtod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pystrtod.c b/Python/pystrtod.c index 3f0328e06b..01c1c42770 100644 --- a/Python/pystrtod.c +++ b/Python/pystrtod.c @@ -364,7 +364,7 @@ add_thousands_grouping(char* buffer, size_t buf_size) /* At this point, p points just past the right-most character we want to format. We need to add the grouping string for the characters between buffer and p. */ - return _PyString_InsertThousandsGrouping(buffer, len, p, + return _PyString_InsertThousandsGrouping(buffer, len, p-buffer, buf_size, NULL, 1); } |