[Python-3000-checkins] r64620 - python/branches/py3k/Doc/c-api/unicode.rst
benjamin.peterson
python-3000-checkins at python.org
Tue Jul 1 21:12:34 CEST 2008
Author: benjamin.peterson
Date: Tue Jul 1 21:12:34 2008
New Revision: 64620
Log:
document PyUnicode_CompareWithASCIIString
Modified:
python/branches/py3k/Doc/c-api/unicode.rst
Modified: python/branches/py3k/Doc/c-api/unicode.rst
==============================================================================
--- python/branches/py3k/Doc/c-api/unicode.rst (original)
+++ python/branches/py3k/Doc/c-api/unicode.rst Tue Jul 1 21:12:34 2008
@@ -869,6 +869,12 @@
respectively.
+.. cfunction:: int PyUnicode_CompareWithASCIIString(PyObject *uni, char *string)
+
+ Compare a unicode object, *uni*, with *string* and return -1, 0, 1 for less
+ than, equal, and greater than, respectively.
+
+
.. cfunction:: int PyUnicode_RichCompare(PyObject *left, PyObject *right, int op)
Rich compare two unicode strings and return one of the following:
More information about the Python-3000-checkins
mailing list