blob: 292b18e5d7f530e435acee7664db6082033e3922 [file] [log] [blame]
from struct import Struct
s = Struct('c')
s.unpack(<warning descr="Expected type 'bytes', got 'str' instead">'\x00'</warning>)
s.unpack(b'\x00')