diff options
author | Georg Brandl <georg@python.org> | 2009-07-26 14:54:51 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-07-26 14:54:51 (GMT) |
commit | 22b3431426349a424e3486c279db8b84cf671da0 (patch) | |
tree | db3aa6b6addb5e07c53de6ff2a5e8250d472bb58 /Doc/reference/expressions.rst | |
parent | 7a72b3ad7b02612254c7e256b8a67ce7ccf7994a (diff) | |
download | cpython-22b3431426349a424e3486c279db8b84cf671da0.zip cpython-22b3431426349a424e3486c279db8b84cf671da0.tar.gz cpython-22b3431426349a424e3486c279db8b84cf671da0.tar.bz2 |
Merged revisions 74209 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74209 | georg.brandl | 2009-07-26 16:37:28 +0200 (So, 26 Jul 2009) | 1 line
builtin -> built-in.
........
Diffstat (limited to 'Doc/reference/expressions.rst')
-rw-r--r-- | Doc/reference/expressions.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst index 79c87be3e2..1bddd93 100644 --- a/Doc/reference/expressions.rst +++ b/Doc/reference/expressions.rst @@ -641,7 +641,7 @@ the call. .. note:: - An implementation may provide builtin functions whose positional parameters do + An implementation may provide built-in functions whose positional parameters do not have names, even if they are 'named' for the purpose of documentation, and which therefore cannot be supplied by keyword. In CPython, this is the case for functions implemented in C that use :cfunc:`PyArg_ParseTuple` to parse their @@ -996,7 +996,7 @@ operators *always* consider objects of different types to be unequal, while the ``<``, ``>``, ``>=`` and ``<=`` operators raise a :exc:`TypeError` when comparing objects of different types that do not implement these operators for the given pair of types. You can control comparison behavior of objects of -non-builtin types by defining rich comparison methods like :meth:`__gt__`, +non-built-in types by defining rich comparison methods like :meth:`__gt__`, described in section :ref:`customization`. Comparison of objects of the same type depends on the type: @@ -1037,7 +1037,7 @@ Comparison of objects of the same type depends on the type: which depend on total ordering. For example, :func:`min`, :func:`max`, and :func:`sorted` produce undefined results given a list of sets as inputs. -* Most other objects of builtin types compare unequal unless they are the same +* Most other objects of built-in types compare unequal unless they are the same object; the choice whether one object is considered smaller or larger than another one is made arbitrarily but consistently within one execution of a program. |