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 fb1cb00 commit d69df4bCopy full SHA for d69df4b
Doc/library/stdtypes.rst
@@ -1998,6 +1998,19 @@ expression support in the :mod:`re` module).
1998
``False`` otherwise.
1999
ASCII characters have code points in the range U+0000-U+007F.
2000
2001
+ For example::
2002
+
2003
+ >>> 'a commom word'.isascii()
2004
+ True
2005
+ >>> 'acommomword'.isascii()
2006
2007
+ >>> 'µ'.isascii()
2008
+ False
2009
+ >>> 'æ'.isascii()
2010
2011
+ >>> 'Ŧ'.isascii()
2012
2013
2014
.. versionadded:: 3.7
2015
2016
0 commit comments