summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2016-04-28 19:23:48 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2016-04-28 19:23:48 (GMT)
commit64f8c7ec4f7ed37490e066d9f092323eeaa83c8c (patch)
treea8f98fbd2d40043d6fde6466b5db2df9cd202baa /Python
parent44f99d0aaf032be8b27174b3c5703c0d4afbc48e (diff)
downloadcpython-64f8c7ec4f7ed37490e066d9f092323eeaa83c8c.zip
cpython-64f8c7ec4f7ed37490e066d9f092323eeaa83c8c.tar.gz
cpython-64f8c7ec4f7ed37490e066d9f092323eeaa83c8c.tar.bz2
Issue #26874: Make divmod docstring and full doc match
Diffstat (limited to 'Python')
-rw-r--r--Python/bltinmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index d99b676..2621f94 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 *