bpo-45003: Change __div__ to __truediv__ in py3 language reference. (GH-27951)

This commit is contained in:
Objectivitix 2021-08-26 02:49:02 -03:00 committed by GitHub
parent c764dfbcbc
commit 806e25fd31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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::