mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
bpo-45003: Change __div__ to __truediv__ in py3 language reference. (GH-27951)
This commit is contained in:
parent
c764dfbcbc
commit
806e25fd31
1 changed files with 1 additions and 1 deletions
|
@ -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::
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue