Skip to content

Commit 0273331

Browse files
committed
py: fix <<= for int
1 parent 9402ed8 commit 0273331

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/int.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ func (a Int) M__rlshift__(other Object) Object {
276276
}
277277

278278
func (a Int) M__ilshift__(other Object) Object {
279-
return a.M__floordiv__(other)
279+
return a.M__lshift__(other)
280280
}
281281

282282
func (a Int) M__rshift__(other Object) Object {

0 commit comments

Comments
 (0)