# HG changeset patch # User Franz Glasner # Date 1619594594 -7200 # Node ID 035b42a224ed4070ef559fd736b6927117938170 # Parent 801cd16223e487b79fa0521f8684fa04ff1ac1fc Docu diff -r 801cd16223e4 -r 035b42a224ed configmix/config.py --- a/configmix/config.py Wed Apr 28 09:19:55 2021 +0200 +++ b/configmix/config.py Wed Apr 28 09:23:14 2021 +0200 @@ -194,14 +194,16 @@ def _lookupref(self, key, default=_MARKER): """ - `key` must be a reference URI without any (namespace) prefixes - and suffixes + + `key` must be a configuration reference URI without any + (namespace) prefixes and suffixes """ return self.expand_ref_uri(key, default=default) def expand_if_reference(self, v, default=_MARKER): - """Check whether `v` is a reference and -- if true -- then expand it. + """Check whether `v` is a configuration reference and -- if true -- + then expand it. `v` must match the pattern ``{{ref:}}``