[issue26874] Docstring error in divmod function

2016-05-01 Thread Zachary Ware
Zachary Ware added the comment: Forgot that step, thanks Serhiy! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue26874] Docstring error in divmod function

2016-05-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 84ff79cce41e by Serhiy Storchaka in branch '3.5': Regenerate Argument Clinic code for issue #26874. https://hg.python.org/cpython/rev/84ff79cce41e New changeset 98678738b7e9 by Serhiy Storchaka in branch 'default': Regenerate Argument Clinic code fo

[issue26874] Docstring error in divmod function

2016-04-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5a578ec4b3b3 by Zachary Ware in branch '2.7': Issue #26874: Simplify the divmod docstring. https://hg.python.org/cpython/rev/5a578ec4b3b3 New changeset 3edf8aa1ed97 by Zachary Ware in branch '3.5': Issue #26874: Simplify the divmod docstring https:/

[issue26874] Docstring error in divmod function

2016-04-28 Thread Zachary Ware
Zachary Ware added the comment: If only I had reloaded the page before pushing... Btw, this was first reported in issue1209411, but only the docs were changed, not the docstring. -- nosy: +zach.ware resolution: fixed -> stage: resolved -> status: closed -> open _

[issue26874] Docstring error in divmod function

2016-04-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset fb49082a75d1 by Zachary Ware in branch '2.7': Issue #26874: Make divmod docstring and full doc match https://hg.python.org/cpython/rev/fb49082a75d1 New changeset ef193be5c3cd by Zachary Ware in branch '3.5': Issue #26874: Fix divmod docstring https:

[issue26874] Docstring error in divmod function

2016-04-28 Thread Mark Dickinson
Mark Dickinson added the comment: > I think it should be ((x-x%y)//y, x%y) where an integer division is used. How about simply (x//y, x%y)? -- ___ Python tracker ___ ___

[issue26874] Docstring error in divmod function

2016-04-28 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +eric.smith, lemburg, mark.dickinson, stutzbach ___ Python tracker ___ ___ Python-bugs-list mai

[issue26874] Docstring error in divmod function

2016-04-28 Thread mbarao
mbarao added the comment: See divmod.__doc__ -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue26874] Docstring error in divmod function

2016-04-28 Thread Emanuel Barry
Emanuel Barry added the comment: The documentation looks fine to me. Are you seeing any other place that I'm missing? https://docs.python.org/3/library/functions.html#divmod -- nosy: +ebarry ___ Python tracker __

[issue26874] Docstring error in divmod function

2016-04-28 Thread mbarao
New submission from mbarao: The documentation of the divmod function says that a tuple ((x-x%y)/y, x%y) is returned, but this is not correct anymore for python3. I think it should be ((x-x%y)//y, x%y) where an integer division is used. -- assignee: docs@python components: Documentation