Mercurial > hgrepos > Python > libs > ConfigMix
comparison configmix/config.py @ 380:bb4a90fb58e0
Docu: "namespace" in getvarl() is a keyword argument
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Tue, 09 Nov 2021 21:58:05 +0100 |
| parents | 4d7ad20cb8f9 |
| children | fe3dfd687621 |
comparison
equal
deleted
inserted
replaced
| 379:9cc0116b5635 | 380:bb4a90fb58e0 |
|---|---|
| 73 _QUOTE = u(b'%') | 73 _QUOTE = u(b'%') |
| 74 _COMMENT = u(b'#') | 74 _COMMENT = u(b'#') |
| 75 | 75 |
| 76 def getvarl(self, *names, **kwds): | 76 def getvarl(self, *names, **kwds): |
| 77 """Get a variable where the hierarchy is given in `names` as sequence | 77 """Get a variable where the hierarchy is given in `names` as sequence |
| 78 and the namespace is given in `namespace`. | 78 and the namespace is given in the `namespace` keyword argument. |
| 79 | 79 |
| 80 No variable interpolation is done and no filters are applied. | 80 No variable interpolation is done and no filters are applied. |
| 81 | 81 |
| 82 Quoting of `names` and `namespace` is *not* needed and wrong. | 82 Quoting of `names` and `namespace` is *not* needed and wrong. |
| 83 | 83 |
