classification
Title: operator module docs include repeat
Type: 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, luciano, python-dev, sandro.tosi
Priority: normal Keywords:

Created on 2011-09-18 19:24 by luciano, last changed 2011-09-21 18:10 by python-dev. This issue is now closed.

Messages (2)
msg144251 - (view) Author: Luciano Ramalho (luciano) Date: 2011-09-18 19:24
The operator module documentation for versions 3.2 and 3.3 includes the repeat function in a table "9.3.1. Mapping Operators to Functions" [1], but fails to mention that the repeat function is deprecated and mul should be used instead, as described in the 2.7 version of the operator module docs [2].

The main entry for the repeat function was removed in the 3.2 and 3.3 docs, only the mention in the table remains [1].

[1] http://docs.python.org/py3k/library/operator#mapping-operators-to-functions
[2] http://docs.python.org/library/operator#operator.__repeat__
msg144388 - (view) Author: Roundup Robot (python-dev) Date: 2011-09-21 18:10
New changeset 0d0bfbaaf95c by Senthil Kumaran in branch '3.2':
Fix closes issue13005 - Remove the mention of 'repeat' method in the operator module documentation.
http://hg.python.org/cpython/rev/0d0bfbaaf95c

New changeset 6c60f2aacc83 by Senthil Kumaran in branch 'default':
merge 3.2.  Fix closes issue13005 - Remove the mention of 'repeat' method in the operator module documentation.
http://hg.python.org/cpython/rev/6c60f2aacc83
History
Date User Action Args
2011-09-21 18:10:24python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg144388

resolution: fixed
stage: needs patch -> resolved
2011-09-18 19:26:12ezio.melottisetnosy: + ezio.melotti, sandro.tosi

stage: needs patch
2011-09-18 19:24:54lucianocreate