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 ac028d7 commit 3b53406Copy full SHA for 3b53406
Doc/library/stdtypes.rst
@@ -1990,7 +1990,19 @@ expression support in the :mod:`re` module).
1990
from the `Alphabetic property defined in the section 4.10 'Letters, Alphabetic, and
1991
Ideographic' of the Unicode Standard
1992
<https://www.unicode.org/versions/Unicode16.0.0/core-spec/chapter-4/#G91002>`_.
1993
+ For example::
1994
+
1995
+ ..doctest::
1996
1997
+ >>> 'a commom word'.isalpha()
1998
+ False
1999
+ >>> 'acommomword'.isalpha()
2000
+ True
2001
+ >>> 'µ'.isalpha() # no-ascii characters could be alpha too
2002
2003
2004
2005
+ See Unicode Properties section in :ref:`unicode-howto`.
2006
2007
.. method:: str.isascii()
2008
0 commit comments