From c22ed14ddd640f206e1e334fcb4ed4ab4de0951e Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Tue, 1 Jul 2008 19:12:34 +0000 Subject: document PyUnicode_CompareWithASCIIString --- Doc/c-api/unicode.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Doc/c-api/unicode.rst b/Doc/c-api/unicode.rst index 653ee6e..e274591 100644 --- a/Doc/c-api/unicode.rst +++ b/Doc/c-api/unicode.rst @@ -869,6 +869,12 @@ They all return *NULL* or ``-1`` if an exception occurs. 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: -- cgit v0.12