diff options
author | Objectivitix <79152594+Objectivitix@users.noreply.github.com> | 2021-08-26 05:49:02 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-26 05:49:02 (GMT) |
commit | 806e25fd3173a80021e6df87b81263b5f6056f38 (patch) | |
tree | 32a30e590dae72692b4e65d03232ef7e872c8233 /Doc/reference | |
parent | c764dfbcbc12c4653fc8ab39773cf973c9db2757 (diff) | |
download | cpython-806e25fd3173a80021e6df87b81263b5f6056f38.zip cpython-806e25fd3173a80021e6df87b81263b5f6056f38.tar.gz cpython-806e25fd3173a80021e6df87b81263b5f6056f38.tar.bz2 |
bpo-45003: Change __div__ to __truediv__ in py3 language reference. (GH-27951)
Diffstat (limited to 'Doc/reference')
-rw-r--r-- | Doc/reference/expressions.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst index b1b32df..d70fcb3 100644 --- a/Doc/reference/expressions.rst +++ b/Doc/reference/expressions.rst @@ -1256,7 +1256,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:: |