diff --git a/types.py b/types.py index 0c45467..ed3aecf 100644 --- a/types.py +++ b/types.py @@ -35,7 +35,7 @@ class BitString: _bitlength: int def __init__(self, - bitstring: builtins.bytes | None = None) -> None: + bitstring: builtins.bytes | str | None = None) -> None: if not bitstring: self._bytes = bytes() self._bitlength = 0