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

index a06ef610c660ac09c6c74b688801654ef3aea138..909c5b904f54797d1e652e5bdfb07dde838b6e20 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-x%y)//y, x%y).  Invariant: div*y + mod == x.
 [clinic start generated code]*/
 
 static PyObject *