Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion Doc/library/stdtypes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1996,7 +1996,14 @@ expression support in the :mod:`re` module).

Return ``True`` if the string is empty or all characters in the string are ASCII,
``False`` otherwise.
ASCII characters have code points in the range U+0000-U+007F.
ASCII characters have code points in the range U+0000-U+007F. For example:

.. doctest::

>>> 'a common word'.isascii()
True
>>> 'µ'.isascii()
False

.. versionadded:: 3.7

Expand Down
Loading