From: Zachary Ware Date: Thu, 28 Apr 2016 19:23:48 +0000 (-0500) Subject: Issue #26874: Make divmod docstring and full doc match X-Git-Tag: v2.7.12rc1~99 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=64f8c7ec4f7ed37490e066d9f092323eeaa83c8c;p=thirdparty%2FPython%2Fcpython.git Issue #26874: Make divmod docstring and full doc match --- diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index d99b6763f915..2621f947cc46 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -625,7 +625,7 @@ builtin_divmod(PyObject *self, PyObject *args) PyDoc_STRVAR(divmod_doc, "divmod(x, y) -> (quotient, remainder)\n\ \n\ -Return the tuple ((x-x%y)/y, x%y). Invariant: div*y + mod == x."); +Return the tuple ((x-x%y)//y, x%y). Invariant: div*y + mod == x."); static PyObject *