Mercurial > cpython-lru_cache-weakref
diff Doc/api/api.tex @ 13321:ac24d82d8e33 legacy-trunk
Marc-Andre Lemburg <mal@lemburg.com>:
Update the API docs for the new macros Py_UNICODE_ISALPHA() and
Py_UNICODE_ISALNUM().
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Mon, 03 Jul 2000 13:38:10 +0000 |
| parents | e2aee6190b19 |
| children | 4cf21852fd52 |
line wrap: on
line diff
--- a/Doc/api/api.tex Mon Jul 03 10:52:13 2000 +0000 +++ b/Doc/api/api.tex Mon Jul 03 13:38:10 2000 +0000 @@ -1993,7 +1993,7 @@ \end{cfuncdesc} \begin{cfuncdesc}{int}{Py_UNICODE_ISUPPER}{Py_UNICODE ch} -Returns 1/0 depending on whether \var{ch} is a uppercase character. +Returns 1/0 depending on whether \var{ch} is an uppercase character. \end{cfuncdesc} \begin{cfuncdesc}{int}{Py_UNICODE_ISTITLE}{Py_UNICODE ch} @@ -2016,6 +2016,14 @@ Returns 1/0 depending on whether \var{ch} is a numeric character. \end{cfuncdesc} +\begin{cfuncdesc}{int}{Py_UNICODE_ISALPHA}{Py_UNICODE ch} +Returns 1/0 depending on whether \var{ch} is an alphabetic character. +\end{cfuncdesc} + +\begin{cfuncdesc}{int}{Py_UNICODE_ISALNUM}{Py_UNICODE ch} +Returns 1/0 depending on whether \var{ch} is an alphanumeric character. +\end{cfuncdesc} + These APIs can be used for fast direct character conversions: \begin{cfuncdesc}{Py_UNICODE}{Py_UNICODE_TOLOWER}{Py_UNICODE ch}
