From: Objectivitix <79152594+Objectivitix@users.noreply.github.com> Date: Thu, 26 Aug 2021 05:49:02 +0000 (-0300) Subject: bpo-45003: Change __div__ to __truediv__ in py3 language reference. (GH-27951) X-Git-Tag: v3.11.0a1~332 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=806e25fd3173a80021e6df87b81263b5f6056f38;p=thirdparty%2FPython%2Fcpython.git bpo-45003: Change __div__ to __truediv__ in py3 language reference. (GH-27951) --- diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst index b1b32dfba26e..d70fcb34d216 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::