class_docstr: A timezone that has a variable offset from UTC
  
  The offset might change if daylight saving time comes into effect,
  or at a point in history when the region decides to change their
  timezone definition.
class_docstr_tok: ["A","timezone","that","has","a","variable","offset","from","UTC","The","offset","might","change","if","daylight","saving","time","comes","into","effect",",","or","at","a","point","in","history","when","the","region","decides","to","change","their","timezone","definition","."]
code: def __init__(self, _inf=None, _tzinfos=None):
      if _inf:
          self._tzinfos = _tzinfos
          self._utcoffset, self._dst, self._tzname = _inf
      else:
          _tzinfos = {}
          self._tzinfos = _tzinfos
          (
              self._utcoffset,
              self._dst,
              self._tzname,
          ) = self._transition_info[0]
          _tzinfos[self._transition_info[0]] = self
          for inf in self._transition_info[1:]:
              if inf not in _tzinfos:
                  _tzinfos[inf] = self.__class__(inf, _tzinfos)
  
imports: from datetime import datetime, timedelta, tzinfo
  from bisect import bisect_right
  import pytz
  from pytz.exceptions import AmbiguousTimeError, NonExistentTimeError
label_desc: Use image node_id 1 to create a new DstTzInfo object from inherited base classes: BaseTzInfo with example: obj = DstTzInfo(_inf, _tzinfos)