Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
e92ff050
Commit
e92ff050
authored
Nov 11, 2011
by
Eli Bendersky
Browse files
Options
Browse Files
Download
Plain Diff
Issue #13161: fix doc strings of __i*__ operators. Closes #13161
parents
51f6648a
d3baae73
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
Objects/typeobject.c
Objects/typeobject.c
+10
-10
No files found.
Objects/typeobject.c
View file @
e92ff050
...
...
@@ -5717,25 +5717,25 @@ static slotdef slotdefs[] = {
NBSLOT
(
"__index__"
,
nb_index
,
slot_nb_index
,
wrap_unaryfunc
,
"x[y:z] <==> x[y.__index__():z.__index__()]"
),
IBSLOT
(
"__iadd__"
,
nb_inplace_add
,
slot_nb_inplace_add
,
wrap_binaryfunc
,
"+"
),
wrap_binaryfunc
,
"+
=
"
),
IBSLOT
(
"__isub__"
,
nb_inplace_subtract
,
slot_nb_inplace_subtract
,
wrap_binaryfunc
,
"-"
),
wrap_binaryfunc
,
"-
=
"
),
IBSLOT
(
"__imul__"
,
nb_inplace_multiply
,
slot_nb_inplace_multiply
,
wrap_binaryfunc
,
"*"
),
wrap_binaryfunc
,
"*
=
"
),
IBSLOT
(
"__imod__"
,
nb_inplace_remainder
,
slot_nb_inplace_remainder
,
wrap_binaryfunc
,
"%"
),
wrap_binaryfunc
,
"%
=
"
),
IBSLOT
(
"__ipow__"
,
nb_inplace_power
,
slot_nb_inplace_power
,
wrap_binaryfunc
,
"**"
),
wrap_binaryfunc
,
"**
=
"
),
IBSLOT
(
"__ilshift__"
,
nb_inplace_lshift
,
slot_nb_inplace_lshift
,
wrap_binaryfunc
,
"<<"
),
wrap_binaryfunc
,
"<<
=
"
),
IBSLOT
(
"__irshift__"
,
nb_inplace_rshift
,
slot_nb_inplace_rshift
,
wrap_binaryfunc
,
">>"
),
wrap_binaryfunc
,
">>
=
"
),
IBSLOT
(
"__iand__"
,
nb_inplace_and
,
slot_nb_inplace_and
,
wrap_binaryfunc
,
"&"
),
wrap_binaryfunc
,
"&
=
"
),
IBSLOT
(
"__ixor__"
,
nb_inplace_xor
,
slot_nb_inplace_xor
,
wrap_binaryfunc
,
"^"
),
wrap_binaryfunc
,
"^
=
"
),
IBSLOT
(
"__ior__"
,
nb_inplace_or
,
slot_nb_inplace_or
,
wrap_binaryfunc
,
"|"
),
wrap_binaryfunc
,
"|
=
"
),
BINSLOT
(
"__floordiv__"
,
nb_floor_divide
,
slot_nb_floor_divide
,
"//"
),
RBINSLOT
(
"__rfloordiv__"
,
nb_floor_divide
,
slot_nb_floor_divide
,
"//"
),
BINSLOT
(
"__truediv__"
,
nb_true_divide
,
slot_nb_true_divide
,
"/"
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment