Skip to content

Commit 64f8c7e

Browse files
committed
Issue python#26874: Make divmod docstring and full doc match
1 parent 44f99d0 commit 64f8c7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Python/bltinmodule.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ builtin_divmod(PyObject *self, PyObject *args)
625625
PyDoc_STRVAR(divmod_doc,
626626
"divmod(x, y) -> (quotient, remainder)\n\
627627
\n\
628-
Return the tuple ((x-x%y)/y, x%y). Invariant: div*y + mod == x.");
628+
Return the tuple ((x-x%y)//y, x%y). Invariant: div*y + mod == x.");
629629

630630

631631
static PyObject *

0 commit comments

Comments
 (0)