Mercurial > hg > configuration
changeset 76:6667e79ffcb3
note load option
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Wed, 28 Mar 2012 14:08:11 -0700 |
parents | c119eb07a378 |
children | 0f9f8f225e79 |
files | README.txt |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/README.txt Wed Mar 28 12:56:50 2012 -0700 +++ b/README.txt Wed Mar 28 14:08:11 2012 -0700 @@ -66,7 +66,9 @@ ``Configuration`` instances can also deserialize data. The normal case of using configuration is when you want to be able to read from configuration files. By default, ``Configuration`` instances read -positional arguments for configuration files to be loaded. +positional arguments for configuration files to be loaded. If you +specify a ``load`` argument to the ``Configuration`` constructor, this +option will be used instead. The `configuration package <http://pypi.python.org/pypi/configuration>`_ requires ``json``(``simplejson`` on older python) and ``PyYAML`` so