code: def timetuple(self):
          "Return local time tuple compatible with time.localtime()."
          dst = self.dst()
          if dst is None:
              dst = -1
          elif dst:
              dst = 1
          else:
              dst = 0
          return _build_struct_time(self.year, self.month, self.day,
                                    self.hour, self.minute, self.second,
                                    dstf timetuple(self):
          "Return local time tuple compatible with time.localtime()."
          dst = self.dst()
          if dst is None:
              dst = -1
          elif dst:
              dst = 1
          else:
              dst = 0
          return _build_struct_time(self.year, self.month, self.day,
                                    self.hour, self.minute, self.second,
                                    dst)
docs: Return local time tuple compatible with time.localtime().