File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1039,7 +1039,7 @@ def __rrshift__(self, other):
1039
1039
def shift_right (self , amount ):
1040
1040
"""Right shift by constant amount.
1041
1041
1042
- If :py:`amount < 0`, performs the same operation as :py:`self.left_right (-amount)`.
1042
+ If :py:`amount < 0`, performs the same operation as :py:`self.shift_left (-amount)`.
1043
1043
1044
1044
Returns
1045
1045
-------
@@ -1062,7 +1062,7 @@ def shift_right(self, amount):
1062
1062
def rotate_right (self , amount ):
1063
1063
"""Right rotate by constant amount.
1064
1064
1065
- If :py:`amount < 0`, performs the same operation as :py:`self.rotate_right (-amount)`.
1065
+ If :py:`amount < 0`, performs the same operation as :py:`self.rotate_left (-amount)`.
1066
1066
1067
1067
Returns
1068
1068
-------
You can’t perform that action at this time.
0 commit comments