def __init__(self, environments, doc='', with_override=True):
        """Instantiate a ConfigManager.

        :arg environents: list of configuration sources to look through in
            the order they should be looked through
        :arg str doc: help text printed to users when they encounter configuration
            errors

            .. versionadded:: 0.6

        :arg with_override: whether or not to insert the special override
            environment used for testing as the first environment in the list
            of sources

        """
        if with_override:
            environments.insert(0, ConfigOverrideEnv())

        self.envs = environments
        self.doc = doc
def __init__ ( self , environments , doc = '' , with_override = True ) : if with_override : environments . insert ( 0 , ConfigOverrideEnv ( ) ) self . envs = environments self . doc = doc
Instantiate a ConfigManager.

        :arg environents: list of configuration sources to look through in
            the order they should be looked through
        :arg str doc: help text printed to users when they encounter configuration
            errors

            .. versionadded:: 0.6

        :arg with_override: whether or not to insert the special override
            environment used for testing as the first environment in the list
            of sources