mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Remove meaning of -ttt, but still accept -t option on cmdline for compatibility.
This commit is contained in:
parent
e5d68aceb5
commit
f954c4b9fb
37 changed files with 1184 additions and 1024 deletions
|
@ -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. |
|
||||
+-------------------+---------------------+--------------------------------+
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue