From f954c4b9fb8529cc13a2e24c58137c66ac836b28 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Wed, 4 Jun 2008 11:41:32 +0000 Subject: Remove meaning of -ttt, but still accept -t option on cmdline for compatibility. --- Doc/c-api/unicode.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Doc/c-api') diff --git a/Doc/c-api/unicode.rst b/Doc/c-api/unicode.rst index 17c25d577f..07b215dcef 100644 --- a/Doc/c-api/unicode.rst +++ b/Doc/c-api/unicode.rst @@ -144,6 +144,13 @@ the Python configuration. Return 1 or 0 depending on whether *ch* is an alphanumeric character. +.. cfunction:: int Py_UNICODE_ISPRINTABLE(Py_UNICODE ch) + + Return 1 or 0 depending on whether *ch* is a printable character. + Characters defined in the Unicode character database as "Other" + or "Separator" other than ASCII space(0x20) are not considered + printable. + These APIs can be used for fast direct character conversions: @@ -228,6 +235,9 @@ APIs: +===================+=====================+================================+ | :attr:`%%` | *n/a* | The literal % character. | +-------------------+---------------------+--------------------------------+ + | :attr:`%a` | PyObject\* | The result of calling | + | | | :func:`ascii`. | + +-------------------+---------------------+--------------------------------+ | :attr:`%c` | int | A single character, | | | | represented as an C int. | +-------------------+---------------------+--------------------------------+ -- cgit v1.2.1