]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-45003: Change __div__ to __truediv__ in py3 language reference. (GH-27951) (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 26 Aug 2021 07:03:18 +0000 (00:03 -0700)
committerGitHub <noreply@github.com>
Thu, 26 Aug 2021 07:03:18 +0000 (10:03 +0300)
(cherry picked from commit 806e25fd3173a80021e6df87b81263b5f6056f38)

Co-authored-by: Objectivitix <79152594+Objectivitix@users.noreply.github.com>
Doc/reference/expressions.rst

index 6f6b67fb08c802307e0ace5b7dbaef90158dbec3..5333de911c2c889733e93ec520ec88552b0c48ca 100644 (file)
@@ -1241,7 +1241,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::