Mercurial > hgrepos > Python > libs > ConfigMix
changeset 302:063099b188cd
Docu
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sun, 25 Apr 2021 14:05:16 +0200 |
| parents | a03a6797533b |
| children | 2a2f5b86fe34 |
| files | configmix/config.py |
| diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/configmix/config.py Sun Apr 25 12:54:02 2021 +0200 +++ b/configmix/config.py Sun Apr 25 14:05:16 2021 +0200 @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # :- -# :Copyright: (c) 2015-2020, Franz Glasner. All rights reserved. +# :Copyright: (c) 2015-2021, Franz Glasner. All rights reserved. # :License: BSD-3-Clause. See LICENSE.txt for details. # :- """The unified configuration dictionary with attribute support or @@ -202,7 +202,7 @@ _ENDTOK = u(b"}}") def expand_variable(self, s): - """Expand variables in a single string""" + """Expand variables in the single string `s`""" start = s.find(self._STARTTOK, 0) while start != -1: end = s.find(self._ENDTOK, start)
