Mercurial > hgrepos > Python > libs > ConfigMix
diff configmix/config.py @ 731:75d37575472b
Docs: Add does to some methods that are yet missing docs
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Fri, 18 Aug 2023 00:29:55 +0200 |
| parents | c17a4e30ebbf |
| children | cabd1046d95f |
line wrap: on
line diff
--- a/configmix/config.py Thu Aug 17 09:08:09 2023 +0200 +++ b/configmix/config.py Fri Aug 18 00:29:55 2023 +0200 @@ -498,10 +498,16 @@ self.__interpolation_cache.clear() def disable_cache(self): + """Disable the internal lookup cache and the interpolation cache""" self.__lookup_cache = None self.__interpolation_cache = None def enable_cache(self): + """Enable the internal lookup cache and the interpolation cache. + + The caches are empty after enabling. + + """ self.__lookup_cache = {} self.__interpolation_cache = {}
