Closed GoogleCodeExporter closed 9 years ago
this is actually a Python language issue not specific to dpkt.
what you want is
__hdr__ = (('a','B',0), ) # note the dangling comma
from http://docs.python.org/lib/typesseq.html:
"A single item tuple must have a trailing comma, such as (d,)."
using a list instead is fine too, and probably looks better anyway. :-)
Original comment by dugsong
on 16 Mar 2007 at 12:02
Original issue reported on code.google.com by
sunyi...@gmail.com
on 15 Mar 2007 at 9:59