[Python-checkins] cpython (3.5): Issue #26874: Fix divmod docstring

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


https://hg.python.org/cpython/rev/ef193be5c3cd
changeset: 101169:ef193be5c3cd
branch: 3.5
parent: 101164:f6818806ecc0
user: Zachary Ware <zachary.ware at gmail.com>
date: Thu Apr 28 14:24:55 2016 -0500
summary:
 Issue #26874: Fix divmod docstring
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
@@ -796,7 +796,7 @@
 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 *
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /