MCPcopy Index your code
hub / github.com/python/cpython / __init__

Method __init__

Lib/test/datetimetester.py:6605–6616  ·  view source on GitHub ↗

:param ut: array Array of transition point timestamps :param ti: list A list of (offset, isdst, abbr) tuples :return: None

(self, ut, ti)

Source from the content-addressed store, hash-verified

6603class ZoneInfo(tzinfo):
6604 zoneroot = '/usr/share/zoneinfo'
6605 def __init__(self, ut, ti):
6606 """
6607
6608 :param ut: array
6609 Array of transition point timestamps
6610 :param ti: list
6611 A list of (offset, isdst, abbr) tuples
6612 :return: None
6613 """
6614 self.ut = ut
6615 self.ti = ti
6616 self.lt = self.invert(ut, ti)
6617
6618 @staticmethod
6619 def invert(ut, ti):

Callers 3

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls 1

invertMethod · 0.95

Tested by

no test coverage detected