Issue #19795: Improved markup of True/False constants.

This commit is contained in:
Serhiy Storchaka 2013-11-29 12:17:13 +02:00
parent 4b79518f83
commit fbc1c26803
41 changed files with 92 additions and 80 deletions

View file

@ -687,8 +687,8 @@ constructed list's :meth:`~list.sort` method. ::
The :func:`any(iter) <any>` and :func:`all(iter) <all>` built-ins look at the
truth values of an iterable's contents. :func:`any` returns True if any element
in the iterable is a true value, and :func:`all` returns True if all of the
truth values of an iterable's contents. :func:`any` returns ``True`` if any element
in the iterable is a true value, and :func:`all` returns ``True`` if all of the
elements are true values:
>>> any([0,1,0])