]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #26874: Simplify the divmod docstring
authorZachary Ware <zachary.ware@gmail.com>
Thu, 28 Apr 2016 19:39:50 +0000 (14:39 -0500)
committerZachary Ware <zachary.ware@gmail.com>
Thu, 28 Apr 2016 19:39:50 +0000 (14:39 -0500)
Python/bltinmodule.c

index 909c5b904f54797d1e652e5bdfb07dde838b6e20..0065c9e009edb200a419b4ca6456795f49a88b0e 100644 (file)
@@ -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 *