32
32
Cast it if necessary, but if the 'static_tuple' debug flag is set, raise an
38
35
if 'static_tuple' not in debug.debug_flags:
39
36
return StaticTuple.from_sequence(obj)
40
37
if type(obj) is not StaticTuple:
41
38
raise TypeError('We expected a StaticTuple not a %s' % (type(obj),))
53
if isinstance(item, (tuple, list, StaticTuple)):