From 46970fdd8ddc18823519d1e1c57136f6bc2a8dac Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Thu, 26 Aug 2021 00:03:18 -0700 Subject: [PATCH] bpo-45003: Change __div__ to __truediv__ in py3 language reference. (GH-27951) (GH-27962) (cherry picked from commit 806e25fd3173a80021e6df87b81263b5f6056f38) Co-authored-by: Objectivitix <79152594+Objectivitix@users.noreply.github.com> --- Doc/reference/expressions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst index 6f6b67fb08c8..5333de911c2c 100644 --- a/Doc/reference/expressions.rst +++ b/Doc/reference/expressions.rst @@ -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:: -- 2.47.3