Simplify code

This commit is contained in:
croneter 2020-12-27 13:19:31 +01:00
parent 4cf7c753e0
commit 8f5c64b33e

View file

@ -358,7 +358,7 @@ class ABNF(object):
"""
_m = array.array("B", mask_key)
_d = array.array("B", data)
for i in range(len(_d)):
for i, _ in enumerate(_d):
_d[i] ^= _m[i % 4]
return _d.tostring()