(self, key)
Returns a list of all the values for the named field. Returns an
        empty list if the key doesn't exist.
Returns a list of all the values for the named field. Returns an
        empty list if the key doesn't exist.
Returns a list of all the values for the named field . Returns an empty list if the key doesn t exist .
def getlist(self, key):
        """Returns a list of all the values for the named field. Returns an
        empty list if the key doesn't exist."""
        try:
            vals = self._container[key.lower()]
        except KeyError:
            return []
        else:
            if isinstance(vals, tuple):
                return [vals[1]]
            else:
                return vals[1:]
def getlist ( self , key ) : try : vals = self . _container [ key . lower ( ) ] except KeyError : return [ ] else : if isinstance ( vals , tuple ) : return [ vals [ 1 ] ] else : return vals [ 1 : ]