Mercurial > hgrepos > Python > libs > ConfigMix
comparison configmix/config.py @ 507:402c7f5a2b76
Docs
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sat, 18 Dec 2021 11:19:51 +0100 |
| parents | dffa692751b1 |
| children | 4c2517e18af0 |
comparison
equal
deleted
inserted
replaced
| 506:dffa692751b1 | 507:402c7f5a2b76 |
|---|---|
| 336 # | 336 # |
| 337 self.__cache = {} | 337 self.__cache = {} |
| 338 super(Configuration, self).__init__(*args, **kwds) | 338 super(Configuration, self).__init__(*args, **kwds) |
| 339 | 339 |
| 340 def clear_cache(self): | 340 def clear_cache(self): |
| 341 """Clear the internal lookup cache""" | |
| 341 self.__cache.clear() | 342 self.__cache.clear() |
| 342 | 343 |
| 343 def __getitem__(self, key): | 344 def __getitem__(self, key): |
| 344 """Mapping and list interface that forwards to :meth:`~.getvarl_s` | 345 """Mapping and list interface that forwards to :meth:`~.getvarl_s` |
| 345 | 346 |
