# HG changeset patch # User Franz Glasner # Date 1556907672 -7200 # Node ID 0d8dd58afc440f53b3e40bfefb57045f53c36015 # Parent 70c4f81ac58cc1543ff4a9ee749d9757fe669c5f Docu: Enhanced the custom loader section somewhat diff -r 70c4f81ac58c -r 0d8dd58afc44 doc/introduction.rst --- a/doc/introduction.rst Fri May 03 20:20:05 2019 +0200 +++ b/doc/introduction.rst Fri May 03 20:21:12 2019 +0200 @@ -360,7 +360,7 @@ configmix.clear_assoc() configmix.set_assoc("*.cfg", configmix.get_default_assoc("*.ini")) - Just a new configuration file style:: + Only a new configuration file style:: def my_custom_loader(filename): ... @@ -369,3 +369,6 @@ configmix.mode_loaders["myconfmode"] = my_custom_loader configmix.clear_assoc() configmix.set_assoc("*.my.configuration", "myconfmode") + + If :py:func:`~configmix.clear_assoc` will not be called then just a *new* + configuration file style will be installed.