(self, addresses=None, *args, **kwargs)
Create an extractor which also knows the address datatype.
Create an extractor which also knows the address datatype.
Create an extractor which also knows the address datatype .
def __init__(self, addresses=None, *args, **kwargs):
        "Create an extractor which also knows the address datatype."
        if addresses is None:
            addresses = []

        assert type(addresses) in (list, tuple), "addresses must be a list or tuple"

        self.addresses = addresses
        super(AddressExtracted, self).__init__(*args, **kwargs)
def __init__ ( self , addresses = None , * args , * * kwargs ) : if addresses is None : addresses = [ ] assert type ( addresses ) in ( list , tuple ) , "addresses must be a list or tuple" self . addresses = addresses super ( AddressExtracted , self ) . __init__ ( * args , * * kwargs )