mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
bpo-45003: Change __div__ to __truediv__ in py3 language reference. (GH-27951) (GH-27962)
(cherry picked from commit 806e25fd31)
Co-authored-by: Objectivitix <79152594+Objectivitix@users.noreply.github.com>
This commit is contained in:
parent
0ec17a2494
commit
46970fdd8d
1 changed files with 1 additions and 1 deletions
|
|
@ -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::
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue