mirror of https://github.com/dirtbags/netarch.git
Update trilobytes.py
This commit is contained in:
parent
94ef0aba57
commit
0b7bcfd633
|
@ -39,6 +39,12 @@ class TriloBytes:
|
|||
>>> bytes(tb)
|
||||
b'hiOPDROPD'
|
||||
|
||||
>>> 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