changeset 141:647782859ae1

An extra hint that filename extension comparisons for loader lookup are case-insensitive
author Franz Glasner <hg@dom66.de>
date Sat, 07 Apr 2018 09:24:20 +0200
parents d8d47893df5b
children fc2bd73f9e98
files configmix/__init__.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configmix/__init__.py	Fri Apr 06 22:54:45 2018 +0200
+++ b/configmix/__init__.py	Sat Apr 07 09:24:20 2018 +0200
@@ -119,6 +119,9 @@
     :param callable loader: a callable that accepts a `filename` argument and
                             returns a parsed configuration from a given file
 
+    `extension` should be all lowercase because lookup in the loader database
+    is *case-insensitive*.
+
     If `loader` is :data:`DEFAULT_LOADER` then the default association
     from :data:`default_loaders` will be used -- if any.