diff --git a/netarch/trilobytes.py b/netarch/trilobytes.py index dd93d8d..b371f47 100644 --- a/netarch/trilobytes.py +++ b/netarch/trilobytes.py @@ -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'?'):