parameters: (environment, extensions)
return_statement: return result
docstring: Load the extensions from the list and bind it to the environment.
      Returns a dict of instantiated environments.
docstring_summary: Load the extensions from the list and bind it to the environment.
      Returns a dict of instantiated environments.
docstring_tokens: Load the extensions from the list and bind it to the environment . Returns a dict of instantiated environments .
function: def load_extensions(environment, extensions):
      """Load the extensions from the list and bind it to the environment.
      Returns a dict of instantiated environments.
      """
      result = {}
      for extension in extensions:
          if isinstance(extension, string_types):
              extension = import_string(extension)
          result[extension.identifier] = extension(environment)
      return result
function_tokens: def load_extensions ( environment , extensions ) : result = { } for extension in extensions : if isinstance ( extension , string_types ) : extension = import_string ( extension ) result [ extension . identifier ] = extension ( environment ) return result