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
20 changes: 20 additions & 0 deletions Doc/builtins/stdtypes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2498,6 +2498,23 @@ expression support in the :mod:`re` module).
Return ``True`` if all cased characters [4]_ in the string are lowercase and
there is at least one cased character, ``False`` otherwise.

For example:

.. doctest::

>>> 'banana'.islower()
True
>>> 'BANANA'.islower()
False
>>> 'baNana'.islower()
False
>>> ' '.islower()
False
>>> ''.islower()
False

See also :meth:`isupper` and :meth:`lower`.


.. method:: str.isnumeric()

Expand Down Expand Up @@ -2610,7 +2627,10 @@ expression support in the :mod:`re` module).
False
>>> ' '.isupper()
False
>>> ''.isupper()
False

See also :meth:`islower`.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
See also :meth:`islower`.
See also :meth:`islower` and :meth:`upper`.



.. _meth-str-join:
Expand Down
Loading