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 b25e282 commit bf13df2Copy full SHA for bf13df2
src/ecdsa/_compat.py
@@ -16,7 +16,8 @@ def str_idx_as_int(string, index):
16
if sys.version_info < (3, 0):
17
def normalise_bytes(buffer_object):
18
"""Cast the input into array of bytes."""
19
- return buffer(buffer_object)
+ # flake8 runs on py3 where `buffer` indeed doesn't exist...
20
+ return buffer(buffer_object) # noqa: F821
21
22
def hmac_compat(ret):
23
return ret
0 commit comments