code: def __init__(cls, *args, **kwargs):
      cls.__instances = weakref.WeakValueDictionary()
      cls.__strong_cache = OrderedDict()
      cls.__strong_cache_size = 8
  
      cls._cache_lock = _thread.allocate_lock()
  
file_path: catboost/contrib/python/python-dateutil/py3/dateutil/tz/_factories.py
imports: from datetime import timedelta
  import weakref
  from collections import OrderedDict
  from six.moves import _thread
label_desc: Use image node_id 1 to create a new _TzOffsetFactory object from inherited base classes: _TzFactory with example: obj = _TzOffsetFactory(cls)