comparison configmix/config.py @ 529:9976ff66c439

Docs
author Franz Glasner <f.glasner@feldmann-mg.com>
date Mon, 20 Dec 2021 14:33:09 +0100
parents 54a8d020f5d5
children 28191d61b042
comparison
equal deleted inserted replaced
528:54a8d020f5d5 529:9976ff66c439
337 self.__lookup_cache = {} 337 self.__lookup_cache = {}
338 self.__interpolation_cache = {} 338 self.__interpolation_cache = {}
339 super(Configuration, self).__init__(*args, **kwds) 339 super(Configuration, self).__init__(*args, **kwds)
340 340
341 def clear_cache(self): 341 def clear_cache(self):
342 """Clear the internal lookup cache""" 342 """Clear the internal lookup cache and the interpolation cache"""
343 self.__lookup_cache.clear() 343 self.__lookup_cache.clear()
344 self.__interpolation_cache.clear() 344 self.__interpolation_cache.clear()
345 345
346 def __getitem__(self, key): 346 def __getitem__(self, key):
347 """Mapping and list interface that forwards to :meth:`~.getvarl_s` 347 """Mapping and list interface that forwards to :meth:`~.getvarl_s`