We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0c0529 commit cff1e72Copy full SHA for cff1e72
py/int.go
@@ -411,9 +411,6 @@ func (a Int) M__truediv__(other Object) (Object, error) {
411
return nil, err
412
}
413
fa := Float(a)
414
- if err != nil {
415
- return nil, err
416
- }
417
fb := b.(Float)
418
if fb == 0 {
419
return nil, divisionByZero
@@ -427,9 +424,6 @@ func (a Int) M__rtruediv__(other Object) (Object, error) {
427
424
428
425
429
426
430
431
432
433
434
if fa == 0 {
435
0 commit comments