]> granicus.if.org Git - python/commitdiff
Issue #26874: Make divmod docstring and full doc match
authorZachary Ware <zachary.ware@gmail.com>
Thu, 28 Apr 2016 19:23:48 +0000 (14:23 -0500)
committerZachary Ware <zachary.ware@gmail.com>
Thu, 28 Apr 2016 19:23:48 +0000 (14:23 -0500)
Python/bltinmodule.c

index d99b6763f915cae778cd2e7d7044d62e347b792d..2621f947cc46ff71f73609439da284dfc4784a83 100644 (file)
@@ -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 *