You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>>> a = BitString('0b11')
>>> a.replace('0b1', a)
2
>>> a
BitString('0b11')
So nothing changed when replacing one bit with two. But using a copy
everything works:
>>> a.replace('0b1', a[:])
2
>>> a
BitString('0xf')
Original issue reported on code.google.com by python.bitstring@googlemail.com on 28 Jul 2009 at 3:34
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
python.bitstring@googlemail.com
on 28 Jul 2009 at 3:34The text was updated successfully, but these errors were encountered: