This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: operator: div() instead of truediv() in documention since 3.1.2
Type: enhancement Stage: resolved
Components: Documentation Versions: Python 3.2, Python 3.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, ezio.melotti, felixantoinefortin
Priority: normal Keywords: patch

Created on 2012-02-25 17:29 by felixantoinefortin, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
operator_div.patch felixantoinefortin, 2012-02-25 17:29 Patch for operator.rst of changeset 57209 regarding Division review
Messages (2)
msg154277 - (view) Author: Félix-Antoine Fortin (felixantoinefortin) Date: 2012-02-25 17:29
A small regression was introduced by the changeset 57209 in the documentation of the operator module.

In the abstract operations table in section 9.3.1 the first of two lines
on Division, the associated function should be : truediv() instead of div(), since operator.div() no longer exists in Python 3. In changeset 57209, this corresponds to the line 408 of the file Doc/library/operator.rst.

I have included the patch for the changeset 57209.
msg154836 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2012-03-03 13:31
This was fixed in 8de95f3b2404 (3.2) and d4b17c478e49 (default).
Thanks for the report and the patch!
History
Date User Action Args
2022-04-11 14:57:27adminsetgithub: 58330
2012-03-03 13:31:32ezio.melottisetstatus: open -> closed
resolution: fixed
messages: + msg154836

stage: patch review -> resolved
2012-02-25 17:51:41ezio.melottisetnosy: + ezio.melotti
stage: patch review
type: enhancement

versions: - Python 3.1, Python 3.4
2012-02-25 17:29:06felixantoinefortincreate