summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandro Tosi <sandro.tosi@gmail.com>2012-02-28 21:28:28 (GMT)
committerSandro Tosi <sandro.tosi@gmail.com>2012-02-28 21:28:28 (GMT)
commit83c48822c5b99794492d7b6356b45f889bc8c9b1 (patch)
treec2b0e2532986ae269ceafeda1ac41719bec837d5
parent39b83ac77224b87ef4a09750d3d0456b818fa1ca (diff)
downloadcpython-83c48822c5b99794492d7b6356b45f889bc8c9b1.zip
cpython-83c48822c5b99794492d7b6356b45f889bc8c9b1.tar.gz
cpython-83c48822c5b99794492d7b6356b45f889bc8c9b1.tar.bz2
s/div/truediv/; thanks to FĂ©lix-Antoine Fortin from docs@
-rw-r--r--Doc/library/operator.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/operator.rst b/Doc/library/operator.rst
index b03d9df..9ba7f41 100644
--- a/Doc/library/operator.rst
+++ b/Doc/library/operator.rst
@@ -340,7 +340,7 @@ Python syntax and the functions in the :mod:`operator` module.
+-----------------------+-------------------------+---------------------------------------+
| Containment Test | ``obj in seq`` | ``contains(seq, obj)`` |
+-----------------------+-------------------------+---------------------------------------+
-| Division | ``a / b`` | ``div(a, b)`` |
+| Division | ``a / b`` | ``truediv(a, b)`` |
+-----------------------+-------------------------+---------------------------------------+
| Division | ``a // b`` | ``floordiv(a, b)`` |
+-----------------------+-------------------------+---------------------------------------+