mirror of https://github.com/dirtbags/netarch.git
Update trilobytes.py
Add docstring tests for xor and bytes fixes.
This commit is contained in:
parent
0b7bcfd633
commit
56bd320005
|
@ -42,9 +42,9 @@ class TriloBytes:
|
|||
>>> tb = TriloBytes(b'00')^1
|
||||
>>> tb[0]
|
||||
1
|
||||
|
||||
>>> bytes(TriloBytes(b'00'))
|
||||
b'\x00'
|
||||
|
||||
"""
|
||||
|
||||
def __init__(self, initializer=(), drop=b'?'):
|
||||
|
|
Loading…
Reference in New Issue