Update trilobytes.py

This commit is contained in:
elliottbinder 2018-07-11 19:36:43 -06:00 committed by GitHub
parent 94ef0aba57
commit 0b7bcfd633
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -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'?'):