Mercurial > hgrepos > Python > libs > ConfigMix
comparison configmix/config.py @ 310:801cd16223e4
FIX: Docu
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Wed, 28 Apr 2021 09:19:55 +0200 |
| parents | f529ca46dd50 |
| children | 035b42a224ed |
comparison
equal
deleted
inserted
replaced
| 309:f77dba9fc164 | 310:801cd16223e4 |
|---|---|
| 201 return self.expand_ref_uri(key, default=default) | 201 return self.expand_ref_uri(key, default=default) |
| 202 | 202 |
| 203 def expand_if_reference(self, v, default=_MARKER): | 203 def expand_if_reference(self, v, default=_MARKER): |
| 204 """Check whether `v` is a reference and -- if true -- then expand it. | 204 """Check whether `v` is a reference and -- if true -- then expand it. |
| 205 | 205 |
| 206 `v` must match the pattern ``{{{ref:<REFERENCE>}}}`` | 206 `v` must match the pattern ``{{ref:<REFERENCE>}}`` |
| 207 | 207 |
| 208 All non-matching texttypes and all non-texttypes are returned | 208 All non-matching texttypes and all non-texttypes are returned |
| 209 unchanged. | 209 unchanged. |
| 210 | 210 |
| 211 """ | 211 """ |
