diff options
Diffstat (limited to 'Doc/library/stdtypes.rst')
-rw-r--r-- | Doc/library/stdtypes.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 09549ad..bccc02a 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -774,6 +774,14 @@ functions based on regular expressions. least one cased character, false otherwise. +.. method:: str.isprintable() + + Return true if all characters in the string are printable and there is at + least one character, false otherwise. Characters defined in the Unicode + character database as "Other" or "Separator" other than ASCII space(0x20) are + not considered printable. + + .. method:: str.isspace() Return true if there are only whitespace characters in the string and there is |