comparison configmix/__init__.py @ 108:2196362c0467

Enhance documentation of "configmix.load()"
author Franz Glasner <hg@dom66.de>
date Sat, 24 Mar 2018 15:35:10 +0100
parents 2ee042791197
children 29cf359ddf4d
comparison
equal deleted inserted replaced
107:2ee042791197 108:2196362c0467
26 __all__ = ["load", "Configuration"] 26 __all__ = ["load", "Configuration"]
27 27
28 28
29 def load(*files): 29 def load(*files):
30 """Load the given configuration files, merge them in the given order 30 """Load the given configuration files, merge them in the given order
31 and return the resulting :class:`configmix.config.Configuration` 31 and return the resulting configuration dictionary.
32 dictionary. 32
33 :param files: the filenames of the configuration files to read and merge
34 :returns: the configuration
35 :rtype: ~configmix.config.Configuration
33 36
34 """ 37 """
35 if not files: 38 if not files:
36 return Configuration() 39 return Configuration()
37 else: 40 else: