code: def dump(self, stream, start=None, end=None):
      for j, (trans, i) in enumerate(
          zip(self.transitions, self.type_indices)
      ):
          utc = datetime.utcfromtimestamp(trans)
          tti = self.ttis[i]
          lmt = datetime.utcfromtimestamp(trans + tti.tt_gmtoff)
          abbrind = tti.tt_abbrind
          abbr = self.abbrs[
              abbrind : self.abbrs.find(0, abbrind)
          ].decode()
          if j > 0:
              prev_tti = self.ttis[self.type_indices[j - 1]]
              shift = " %+g" % (
                  (tti.tt_gmtoff - prev_tti.tt_gmtoff) / 3600
              )
          else:
              shift = ""
          print(
              "%s UTC = %s %-5s isdst=%d" % (utc, lmt, abbr, tti[1])
              + shift,
              file=stream,
          )
  
file_path: cpython/Tools/tz/zdump.py
imports: import sys
  import os
  import struct
  from array import array
  from collections import namedtuple
  from datetime import datetime
label_desc: Use image node_id 3 for calling the TZInfo obj's underlying member method code with example usage: obj.dump(stream, start, end) without return types