Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7f227d9

Browse files
committed
Issue #26874: Simplify the divmod docstring
1 parent 4d4160a commit 7f227d9

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
@@ -796,7 +796,7 @@ divmod as builtin_divmod
796796
y: object
797797
/
798798
799-
Return the tuple ((x-x%y)//y, x%y). Invariant: div*y + mod == x.
799+
Return the tuple (x//y, x%y). Invariant: div*y + mod == x.
800800
[clinic start generated code]*/
801801

802802
static PyObject *

0 commit comments

Comments
 (0)