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","."]
docstr: See datetime.tzinfo.fromutc
docstr_tok: ["See","datetime.tzinfo.fromutc"]
code: def fromutc(self, dt):
      """See datetime.tzinfo.fromutc"""
      if (
          dt.tzinfo is not None
          and getattr(dt.tzinfo, "_tzinfos", None) is not self._tzinfos
      ):
          raise ValueError("fromutc: dt.tzinfo is not self")
      dt = dt.replace(tzinfo=None)
      idx = max(0, bisect_right(self._utc_transition_times, dt) - 1)
      inf = self._transition_info[idx]
      return (dt + inf[0]).replace(tzinfo=self._tzinfos[inf])
  
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 2 for calling the DstTzInfo obj's underlying member method code with example usage: obj.fromutc(dt) and returns: unknown