summaryrefslogtreecommitdiffstats
path: root/Python/bltinmodule.c
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2016-04-28 19:39:50 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2016-04-28 19:39:50 (GMT)
commit7f227d90874e2f59027cebefc3085a9021939480 (patch)
tree5daf639b0583d6103e300fa138d4ab28b13732ae /Python/bltinmodule.c
parent4d4160af6ac4cf00ec9c662d3fada8b34d858391 (diff)
downloadcpython-7f227d90874e2f59027cebefc3085a9021939480.zip
cpython-7f227d90874e2f59027cebefc3085a9021939480.tar.gz
cpython-7f227d90874e2f59027cebefc3085a9021939480.tar.bz2
Issue #26874: Simplify the divmod docstring
Diffstat (limited to 'Python/bltinmodule.c')
-rw-r--r--Python/bltinmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 909c5b9..0065c9e 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -796,7 +796,7 @@ divmod as builtin_divmod
y: object
/
-Return the tuple ((x-x%y)//y, x%y). Invariant: div*y + mod == x.
+Return the tuple (x//y, x%y). Invariant: div*y + mod == x.
[clinic start generated code]*/
static PyObject *