[New-bugs-announce] [issue26874] Docstring error in divmod function

mbarao report at bugs.python.org
Thu Apr 28 12:08:50 EDT 2016


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 at python
components: Documentation
messages: 264434
nosy: docs at python, mbarao
priority: normal
severity: normal
status: open
title: Docstring error in divmod function
type: enhancement
versions: Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26874>
_______________________________________


More information about the New-bugs-announce mailing list