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 3229fce commit 1f2c000Copy full SHA for 1f2c000
src/ecdsa/util.py
@@ -27,7 +27,8 @@ def entropy_to_bits(ent_256):
27
return ''.join(bin(ord(x))[2:].zfill(8) for x in ent_256)
28
29
30
-if sys.version < '2.7': #Can't add a method to a built-in type so we are stuck with this
+if sys.version < '2.7':
31
+ # Can't add a method to a built-in type so we are stuck with this
32
def bit_length(x):
33
return len(bin(x)) - 2
34
else:
0 commit comments