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 90c44bc commit 7b0a372Copy full SHA for 7b0a372
Doc/library/stdtypes.rst
@@ -2190,6 +2190,15 @@ expression support in the :mod:`re` module).
2190
Nonprintable characters are those in group Separator or Other (Z or C),
2191
except the ASCII space.
2192
2193
+ For example:
2194
+
2195
+ .. doctest::
2196
2197
+ >>> ''.isprintable(), ' '.isprintable()
2198
+ (True, True)
2199
+ >>> '\t'.isprintable(), '\n'.isprintable()
2200
+ (False, False)
2201
2202
2203
.. method:: str.isspace()
2204
0 commit comments