Thanks to visit codestin.com Credit goes to github.com
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 4e0e1ce commit 66a5d93Copy full SHA for 66a5d93
1 file changed
lib/matplotlib/mlab.py
@@ -2236,8 +2236,8 @@ def binary_repr(number, max_length=1025):
2236
"""
2237
2238
# assert number < 2L << max_length
2239
- shifts = list(map(operator.rshift, max_length * [number],
2240
- range(max_length - 1, -1, -1)))
+ shifts = map(operator.rshift, max_length * [number],
+ range(max_length - 1, -1, -1))
2241
digits = list(map(operator.mod, shifts, max_length * [2]))
2242
if not digits.count(1):
2243
return 0
0 commit comments