diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2013-11-29 12:19:53 +0200 |
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-11-29 12:19:53 +0200 |
| commit | 0e90e99188d6fb54c3f5b31a0488318d9c38309d (patch) | |
| tree | baeb9819ae83194653cd3c3d4760a6c19c787a4d /Doc/howto/functional.rst | |
| parent | 567eba1852ed89e5cf93dbce33f7e2ca73e8f05d (diff) | |
| parent | fbc1c268031a9c8fad65f49c8381b6145bd66ffc (diff) | |
| download | cpython-git-0e90e99188d6fb54c3f5b31a0488318d9c38309d.tar.gz | |
Issue #19795: Improved markup of True/False constants.
Diffstat (limited to 'Doc/howto/functional.rst')
| -rw-r--r-- | Doc/howto/functional.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/howto/functional.rst b/Doc/howto/functional.rst index 0f4c4e483b..97c90c7c0b 100644 --- a/Doc/howto/functional.rst +++ b/Doc/howto/functional.rst @@ -689,8 +689,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]) |
