Attention is currently required from: laforge, osmith, pespin.
Patch set 4:Code-Review +1
1 comment:
File mncc_test.py:
Patch Set #4, Line 73: nr /= 2
Oh, btw, I didn't notice this earlier, but doing `/=` would convert `nr` from `int` to `float`, what would then result into a `TypeError` exception.
```
>>> nr = 8
>>> nr /= 2
>>> nr
4.0
>>> range(nr)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: 'float' object cannot be interpreted as an integer
```
In py2, you would get either `int` or `float`, but in py3 you always get `float`. Use `//=` instead.
To view, visit change 36318. To unsubscribe, or for help writing mail filters, visit settings.