[Python-checkins] cpython (2.7): Issue #26874: Make divmod docstring and full doc match

zach.ware python-checkins at python.org
Thu Apr 28 15:25:57 EDT 2016


https://hg.python.org/cpython/rev/fb49082a75d1
changeset:   101168:fb49082a75d1
branch:      2.7
parent:      101166:224d83c81edd
user:        Zachary Ware <zachary.ware at gmail.com>
date:        Thu Apr 28 14:23:48 2016 -0500
summary:
  Issue #26874: Make divmod docstring and full doc match

files:
  Python/bltinmodule.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -625,7 +625,7 @@
 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 *

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list