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):
10391039 def shift_right (self , amount ):
10401040 """Right shift by constant amount.
10411041
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)`.
10431043
10441044 Returns
10451045 -------
@@ -1062,7 +1062,7 @@ def shift_right(self, amount):
10621062 def rotate_right (self , amount ):
10631063 """Right rotate by constant amount.
10641064
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)`.
10661066
10671067 Returns
10681068 -------
You can’t perform that action at this time.
0 commit comments