http://mmgen-wallet.i2p/project/mmgen/mmgen-wallet/src/f06e48ec2759a63368f993af8ba4a10068b82765/mmgen/proto/eth/rlp/sedes/lists.py
A sedes object is characterized by having the methods `serialize(obj)` and `deserialize(serial)`. """ return hasattr(obj, 'serialize') and hasattr(obj, 'deserialize') def is_sequence(obj): """Check if `obj` is a sequence, but not a string or bytes.""" return isinstance(obj, Sequence) and not ( isinstance(obj, str) or BinaryClass.is_valid_type(obj)) class List(list): """A sedes for lists, implemented as a list of other sedes objects. :param strict: If true (de)serializing lists that have a...