def get_list(self, name, default=None):
        """Retrieves an environment variable as a list.

        Note that while implicit access of environment variables
        containing tuples will return tuples, using this method will
        coerce tuples to lists.

        Args:
            name (str): The case-insensitive, unprefixed variable name.
            default: If provided, a default value will be returned
                instead of throwing ``EnvironmentError``.

        Returns:
            list: The environment variable's value as a list.

        Raises:
            EnvironmentError: If the environment variable does not
                exist, and ``default`` was not provided.
            ValueError: If the environment variable value is not an
                integer with base 10.

        """
        if name not in self:
            if default is not None:
                return default
            raise EnvironmentError.not_found(self._prefix, name)
        return list(self[name])
def get_list ( self , name , default = None ) : if name not in self : if default is not None : return default raise EnvironmentError . not_found ( self . _prefix , name ) return list ( self [ name ] )
Retrieves an environment variable as a list.

        Note that while implicit access of environment variables
        containing tuples will return tuples, using this method will
        coerce tuples to lists.

        Args:
            name (str): The case-insensitive, unprefixed variable name.
            default: If provided, a default value will be returned
                instead of throwing ``EnvironmentError``.

        Returns:
            list: The environment variable's value as a list.

        Raises:
            EnvironmentError: If the environment variable does not
                exist, and ``default`` was not provided.
            ValueError: If the environment variable value is not an
                integer with base 10.