]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-45003: Change __div__ to __truediv__ in py3 language reference. (GH-27951)
authorObjectivitix <79152594+Objectivitix@users.noreply.github.com>
Thu, 26 Aug 2021 05:49:02 +0000 (02:49 -0300)
committerGitHub <noreply@github.com>
Thu, 26 Aug 2021 05:49:02 +0000 (08:49 +0300)
Doc/reference/expressions.rst

index b1b32dfba26e5b22eca38e30d3c284a54ec31b88..d70fcb34d2168eac9cb97dc53d56376a11449d81 100644 (file)
@@ -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::