Content-Length: 267614 | pFad | https://github.com/go-python/gpython/commit/027333188fc41f14af3e186bf81d535af12fc6b3

3E py: fix <<= for int · go-python/gpython@0273331 · GitHub
Skip to content

Commit 0273331

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

py/int.go

Lines changed: 1 addition & 1 deletion
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/go-python/gpython/commit/027333188fc41f14af3e186bf81d535af12fc6b3

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy