summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-10-05 19:24:08 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-10-05 19:24:08 (GMT)
commitc3cec7868bf1019c0987f1e9aadb56d73fa93d61 (patch)
tree93e0ee3984bff06fd50e8643fc5de11402b81671 /Include
parent14f8f02826bc270b2a0dab2ff2efc8ce88fd9dc0 (diff)
downloadcpython-c3cec7868bf1019c0987f1e9aadb56d73fa93d61.zip
cpython-c3cec7868bf1019c0987f1e9aadb56d73fa93d61.tar.gz
cpython-c3cec7868bf1019c0987f1e9aadb56d73fa93d61.tar.bz2
Add asciilib: similar to ucs1, ucs2 and ucs4 library, but specialized to ASCII
ucs1, ucs2 and ucs4 libraries have to scan created substring to find the maximum character, whereas it is not need to ASCII strings. Because ASCII strings are common, it is useful to optimize ASCII.
Diffstat (limited to 'Include')
-rw-r--r--Include/unicodeobject.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h
index 0fd752f..6fdcd7b 100644
--- a/Include/unicodeobject.h
+++ b/Include/unicodeobject.h
@@ -1851,6 +1851,7 @@ PyAPI_FUNC(Py_ssize_t) _PyUnicode_InsertThousandsGroupingLocale(Py_UNICODE *buff
see Objects/stringlib/localeutil.h */
#ifndef Py_LIMITED_API
PyAPI_FUNC(Py_ssize_t) _PyUnicode_InsertThousandsGrouping(
+ PyObject *unicode,
int kind,
void *buffer,
Py_ssize_t n_buffer,