Skip to content
Merged
Changes from 2 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
4 changes: 2 additions & 2 deletions Doc/library/stdtypes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2012,7 +2012,7 @@ expression support in the :mod:`re` module).

.. method:: str.isprintable()

Return true if all characters in the string are printable, false if it
Return ``True`` if all characters in the string are printable, ``False`` if it
contains at least one non-printable character.

Here "printable" means the character is suitable for :func:`repr` to use in
Expand Down Expand Up @@ -2371,7 +2371,7 @@ expression support in the :mod:`re` module).
.. method:: str.swapcase()

Return a copy of the string with uppercase characters converted to lowercase and
vice versa. Note that it is not necessarily true that
vice versa. Note that it is not necessarily ``True`` that
``s.swapcase().swapcase() == s``.


Expand Down
Loading