(self, extension, values, codepage)
Initialise extension handler.
Initialise extension handler.
Initialise extension handler .
def __init__(self, extension, values, codepage):
        """Initialise extension handler."""
        if isinstance(extension, (bytes, text_type)) or not isinstance(extension, Iterable):
            extension = [extension]
        self._extension = list(extension)
        self._values = values
        self._codepage = codepage
        self._ext_funcs = None
def __init__ ( self , extension , values , codepage ) : if isinstance ( extension , ( bytes , text_type ) ) or not isinstance ( extension , Iterable ) : extension = [ extension ] self . _extension = list ( extension ) self . _values = values self . _codepage = codepage self . _ext_funcs = None