[issue26874] Docstring error in divmod function

2016-04-28 Thread mbarao
mbarao added the comment: See divmod.__doc__ -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26874> ___ ___ Python-bugs-list

[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