diff configmix/__init__.py @ 175:327032bb0f6b

Docu: wording
author Franz Glasner <f.glasner@feldmann-mg.com>
date Fri, 26 Apr 2019 18:27:53 +0200
parents e2505f524ab9
children 6dde1e344ae8
line wrap: on
line diff
--- 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.