changeset 179:62db35db8939

Docu: formatting
author Franz Glasner <f.glasner@feldmann-mg.com>
date Thu, 02 May 2019 10:32:36 +0200
parents eeb3ed104ea1
children e87fa5bd68e7
files configmix/__init__.py
diffstat 1 files changed, 7 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/configmix/__init__.py	Thu May 02 09:42:28 2019 +0200
+++ b/configmix/__init__.py	Thu May 02 10:32:36 2019 +0200
@@ -202,14 +202,15 @@
 
 
 def set_loader(fnpattern, mode):
-    """Associate a :mod:`fnmatch` style pattern `fnpattern` with a file
-    mode `mode` that determines what will be called when :func:`load`
-    encounters a file argument that matches `fnpattern`.
+    """Associate a :mod:`fnmatch` style pattern `fnpattern` with a
+    file-mode `mode` that determines what 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 str fnpattern: the :mod:`fnmatch` pattern to associate a loader
+                          with
     :param callable mode: a mode string or a callable that accepts a
-                          `filename` argument and returns a file
-                          mode for the given file (or `None`)
+                          `filename` argument and returns a file-mode for
+                          the given file (or `None`)
 
     This function prepends to the given pattern to the currently defined
     associations.