diff options
author | Georg Brandl <georg@python.org> | 2014-10-31 12:12:57 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-10-31 12:12:57 (GMT) |
commit | e1d26f377eb911aa6a6c5f666ba9c71c65b85695 (patch) | |
tree | 9ef114d11bfc3eefe95042ddcea137f9d2a16f00 /Objects | |
parent | b1847e7541e7c8e8e064c6de1aa1adb199c007e3 (diff) | |
download | cpython-e1d26f377eb911aa6a6c5f666ba9c71c65b85695.zip cpython-e1d26f377eb911aa6a6c5f666ba9c71c65b85695.tar.gz cpython-e1d26f377eb911aa6a6c5f666ba9c71c65b85695.tar.bz2 |
Closes #22772: fix __ifloordiv__ and __itruediv__ docstring.
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/typeobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c index ba106a139..55fd450 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -6271,9 +6271,9 @@ static slotdef slotdefs[] = { 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 " |