summaryrefslogtreecommitdiffstats
path: root/Doc/library/operator.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-12-02 14:58:50 (GMT)
committerGeorg Brandl <georg@python.org>2007-12-02 14:58:50 (GMT)
commit584265b0010c660af21d3b22ac18fff0da678dd0 (patch)
treee8d6c884efe654560c7118d61b14296008a6f5b3 /Doc/library/operator.rst
parentb15a8df51919ae428023df79fd078263d4d23c88 (diff)
downloadcpython-584265b0010c660af21d3b22ac18fff0da678dd0.zip
cpython-584265b0010c660af21d3b22ac18fff0da678dd0.tar.gz
cpython-584265b0010c660af21d3b22ac18fff0da678dd0.tar.bz2
Add more entries to the glossary.
Written by Jeff Wheeler for GHOP.
Diffstat (limited to 'Doc/library/operator.rst')
-rw-r--r--Doc/library/operator.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/operator.rst b/Doc/library/operator.rst
index 499a822..ea4d328 100644
--- a/Doc/library/operator.rst
+++ b/Doc/library/operator.rst
@@ -280,10 +280,10 @@ Operations which work with sequences include:
Many operations have an "in-place" version. The following functions provide a
more primitive access to in-place operators than the usual syntax does; for
-example, the statement ``x += y`` is equivalent to ``x = operator.iadd(x, y)``.
-Another way to put it is to say that ``z = operator.iadd(x, y)`` is equivalent
-to the compound statement ``z = x; z += y``.
-
+example, the :term:`statement` ``x += y`` is equivalent to
+``x = operator.iadd(x, y)``. Another way to put it is to say that
+``z = operator.iadd(x, y)`` is equivalent to the compound statement
+``z = x; z += y``.
.. function:: iadd(a, b)
__iadd__(a, b)