# HG changeset patch # User Franz Glasner # Date 1556296073 -7200 # Node ID 327032bb0f6b3308b4c6018d7b3bd4f4d4a77f79 # Parent e2505f524ab926d2936f1b663ec16d07ee4ef9d6 Docu: wording diff -r e2505f524ab9 -r 327032bb0f6b configmix/__init__.py --- a/configmix/__init__.py Fri Apr 26 18:11:03 2019 +0200 +++ b/configmix/__init__.py Fri Apr 26 18:27:53 2019 +0200 @@ -176,9 +176,9 @@ def set_loader(fnpattern, loader): - """Associate a :mod:`fnmatch` pattern `fnpattern` with a callable - `loader` that will be called when :func:`load` encounters a file - argument that matches `fnpattern`. + """Associate a :mod:`fnmatch` style pattern `fnpattern` with a + callable `loader` that will be called when :func:`load` encounters + a file argument that matches `fnpattern`. :param str fnpattern: the :mod:`fnmatch` pattern to associate a loader with :param callable loader: a callable that accepts a `filename` argument and @@ -188,8 +188,8 @@ associations. The OS specific case-sensitivity behaviour of - :func:`fnmatch.fnmatch` apply (i.e. :func:`os.path.normpath` will - be called for both arguments). + :func:`fnmatch.fnmatch` applies (i.e. :func:`os.path.normpath` + will be called for both arguments). If `loader` is :data:`DEFAULT_LOADER` then the default association from :data:`_default_loaders` will be used -- if any.