MCPcopy Index your code
hub / github.com/RustPython/RustPython / __init__

Method __init__

Lib/test/datetimetester.py:6418–6429  ·  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

6416class ZoneInfo(tzinfo):
6417 zoneroot = '/usr/share/zoneinfo'
6418 def __init__(self, ut, ti):
6419 """
6420
6421 :param ut: array
6422 Array of transition point timestamps
6423 :param ti: list
6424 A list of (offset, isdst, abbr) tuples
6425 :return: None
6426 """
6427 self.ut = ut
6428 self.ti = ti
6429 self.lt = self.invert(ut, ti)
6430
6431 @staticmethod
6432 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