mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-19 13:07:56 +00:00
Docstring.
This commit is contained in:
parent
d7db34f27a
commit
6f0838e2e9
@ -181,6 +181,7 @@ def insecurerandstr(n):
|
||||
return b''.join(map(bchr, map(randrange, [0]*n, [256]*n)))
|
||||
|
||||
def flip_bit(good, which):
|
||||
"""Flip the low-order bit of good[which]."""
|
||||
if which == -1:
|
||||
pieces = good[:which], good[-1:], b""
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user