diff options
author | Georg Brandl <georg@python.org> | 2008-06-04 11:41:32 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-06-04 11:41:32 (GMT) |
commit | f954c4b9fb8529cc13a2e24c58137c66ac836b28 (patch) | |
tree | 91575068c14eec261bc4e2c44da9c881eda4efe1 /Doc/c-api | |
parent | e5d68aceb529934e75d505bbfaf867e02493a1bc (diff) | |
download | cpython-f954c4b9fb8529cc13a2e24c58137c66ac836b28.zip cpython-f954c4b9fb8529cc13a2e24c58137c66ac836b28.tar.gz cpython-f954c4b9fb8529cc13a2e24c58137c66ac836b28.tar.bz2 |
Remove meaning of -ttt, but still accept -t option on cmdline for compatibility.
Diffstat (limited to 'Doc/c-api')
-rw-r--r-- | Doc/c-api/unicode.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Doc/c-api/unicode.rst b/Doc/c-api/unicode.rst index 17c25d5..07b215d 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. | +-------------------+---------------------+--------------------------------+ |