We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d8abae commit 81c1218Copy full SHA for 81c1218
1 file changed
Doc/library/stdtypes.rst
@@ -2052,6 +2052,15 @@ expression support in the :mod:`re` module).
2052
Nonprintable characters are those in group Separator or Other (Z or C),
2053
except the ASCII space.
2054
2055
+ For example:
2056
+
2057
+ .. doctest::
2058
2059
+ >>> ''.isprintable(), ' '.isprintable()
2060
+ (True, True)
2061
+ >>> '\t'.isprintable(), '\n'.isprintable()
2062
+ (False, False)
2063
2064
2065
.. method:: str.isspace()
2066
0 commit comments