diff configmix/__init__.py @ 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 c87b0dc54e1d
children 7e6ec99d5ff5
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.