summaryrefslogtreecommitdiffstats
path: root/Doc/reference
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-08-26 07:04:05 (GMT)
committerGitHub <noreply@github.com>2021-08-26 07:04:05 (GMT)
commitea39933b4b76da35874be79f2384e24b38c37351 (patch)
tree5bbab16a825f6c164c3e84bd96e8e5841ca3ada6 /Doc/reference
parentb34ca7e0515e6726cf5e938f7239de41df710cfd (diff)
downloadcpython-ea39933b4b76da35874be79f2384e24b38c37351.zip
cpython-ea39933b4b76da35874be79f2384e24b38c37351.tar.gz
cpython-ea39933b4b76da35874be79f2384e24b38c37351.tar.bz2
bpo-45003: Change __div__ to __truediv__ in py3 language reference. (GH-27951) (GH-27963)
(cherry picked from commit 806e25fd3173a80021e6df87b81263b5f6056f38) Co-authored-by: Objectivitix <79152594+Objectivitix@users.noreply.github.com>
Diffstat (limited to 'Doc/reference')
-rw-r--r--Doc/reference/expressions.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst
index 10e194c..ab47f37 100644
--- a/Doc/reference/expressions.rst
+++ b/Doc/reference/expressions.rst
@@ -1251,7 +1251,7 @@ integer; the result is that of mathematical division with the 'floor' function
applied to the result. Division by zero raises the :exc:`ZeroDivisionError`
exception.
-This operation can be customized using the special :meth:`__div__` and
+This operation can be customized using the special :meth:`__truediv__` and
:meth:`__floordiv__` methods.
.. index::