diff options
Diffstat (limited to 'numpy/core/numeric.py')
-rw-r--r-- | numpy/core/numeric.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py index 88249b8e1..8bd0d1f67 100644 --- a/numpy/core/numeric.py +++ b/numpy/core/numeric.py @@ -1798,7 +1798,7 @@ def base_repr(number, base=2, padding=0): res = [] while num: res.append(digits[num % base]) - num /= base + num //= base if padding: res.append('0' * padding) if number < 0: |