[Python-checkins] cpython (3.4): Closes #22772: fix __ifloordiv__ and __itruediv__ docstring.
georg.brandl
python-checkins at python.org
Fri Oct 31 13:13:29 CET 2014
https://hg.python.org/cpython/rev/147518a95b60
changeset: 93324:147518a95b60
branch: 3.4
parent: 93320:7981cb1556cf
user: Georg Brandl <georg at python.org>
date: Fri Oct 31 13:12:57 2014 +0100
summary:
Closes #22772: fix __ifloordiv__ and __itruediv__ docstring.
files:
Objects/typeobject.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -6271,9 +6271,9 @@
BINSLOT("__truediv__", nb_true_divide, slot_nb_true_divide, "/"),
RBINSLOT("__rtruediv__", nb_true_divide, slot_nb_true_divide, "/"),
IBSLOT("__ifloordiv__", nb_inplace_floor_divide,
- slot_nb_inplace_floor_divide, wrap_binaryfunc, "//"),
+ slot_nb_inplace_floor_divide, wrap_binaryfunc, "//="),
IBSLOT("__itruediv__", nb_inplace_true_divide,
- slot_nb_inplace_true_divide, wrap_binaryfunc, "/"),
+ slot_nb_inplace_true_divide, wrap_binaryfunc, "/="),
NBSLOT("__index__", nb_index, slot_nb_index, wrap_unaryfunc,
"__index__($self, /)\n--\n\n"
"Return self converted to an integer, if self is suitable "
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list