Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
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::
+
+ >>> 'ASCII characters'.isascii()
+ True
+ >>> 'ยต'.isascii()
+ False
.. versionadded:: 3.7