[Python-checkins] cpython (3.2): s/div/truediv/; thanks to Félix-Antoine Fortin from docs@

sandro.tosi python-checkins at python.org
Tue Feb 28 22:35:32 CET 2012


http://hg.python.org/cpython/rev/8de95f3b2404
changeset:   75331:8de95f3b2404
branch:      3.2
parent:      75327:514d602c3db5
user:        Sandro Tosi <sandro.tosi at gmail.com>
date:        Tue Feb 28 22:28:28 2012 +0100
summary:
  s/div/truediv/; thanks to Félix-Antoine Fortin from docs@

files:
  Doc/library/operator.rst |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Doc/library/operator.rst b/Doc/library/operator.rst
--- a/Doc/library/operator.rst
+++ b/Doc/library/operator.rst
@@ -340,7 +340,7 @@
 +-----------------------+-------------------------+---------------------------------------+
 | 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)``                    |
 +-----------------------+-------------------------+---------------------------------------+

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list