Closed scott-griffiths closed 1 year ago
>>> a = bitstring.BitArray(bin=1) ... return ''.join(s.split()).lower().replace('_', '') ^^^^^^^ AttributeError: 'int' object has no attribute 'split'
Not a very helpful error, and I would expect it to be a bitstring.CreationError?
bitstring.CreationError
Now raises a ValueError with a better message.
Not a very helpful error, and I would expect it to be a
bitstring.CreationError
?