mirror of
https://github.com/python/cpython.git
synced 2025-07-19 17:25:54 +00:00
Merged revisions 64491 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r64491 | eric.smith | 2008-06-23 20:42:10 -0400 (Mon, 23 Jun 2008) | 1 line Modified interface to _Py_[String|Unicode]InsertThousandsGrouping, in anticipation of fixing issue 3140. ........
This commit is contained in:
parent
7d84055e25
commit
6d7e7a730e
5 changed files with 33 additions and 26 deletions
|
@ -364,8 +364,8 @@ 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 _PyBytes_InsertThousandsGrouping(buffer, len, p,
|
||||
buf_size, NULL, 1);
|
||||
return _PyBytes_InsertThousandsGrouping(buffer, len, p-buffer,
|
||||
buf_size, NULL, 1);
|
||||
}
|
||||
|
||||
/* see FORMATBUFLEN in unicodeobject.c */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue