def fromStructTime(klass, structTime, tzinfo=None):
dtime = datetime.datetime(tzinfo=tzinfo, *structTime[:<NUM_LIT:6>])<EOL>self = klass.fromDatetime(dtime)<EOL>self.resolution = datetime.timedelta(seconds=<NUM_LIT:1>)<EOL>return self<EOL>
Return a new Time instance from a time.struct_time.

        If tzinfo is None, structTime is in UTC. Otherwise, tzinfo is a
        datetime.tzinfo instance coresponding to the timezone in which
        structTime is.

        Many of the functions in the standard time module return these things.
        This will also work with a plain 9-tuple, for parity with the time
        module. The last three elements, or tm_wday, tm_yday, and tm_isdst are
        ignored.