Mercurial > cpython-lru_cache-weakref
diff Python/bltinmodule.c @ 71422:b57ace63286b 2.7
Improve docstring for divmod()
| author | Raymond Hettinger <python@rcn.com> |
|---|---|
| date | Tue, 19 Jul 2011 11:59:20 -0700 |
| parents | 1f814faaf54d |
| children | 39573be48b4a |
line wrap: on
line diff
--- a/Python/bltinmodule.c Tue Jul 19 01:35:35 2011 -0700 +++ b/Python/bltinmodule.c Tue Jul 19 11:59:20 2011 -0700 @@ -604,7 +604,7 @@ } PyDoc_STRVAR(divmod_doc, -"divmod(x, y) -> (div, mod)\n\ +"divmod(x, y) -> (quotient, remainder)\n\ \n\ Return the tuple ((x-x%y)/y, x%y). Invariant: div*y + mod == x.");
