MCPcopy Create free account
hub / github.com/scottrogowski/code2flow / __init__

Method __init__

tests/test_code/py/pytz/reference.py:28–30  ·  view source on GitHub ↗
(self, offset, name)

Source from the content-addressed store, hash-verified

26 """Fixed offset in minutes east from UTC."""
27
28 def __init__(self, offset, name):
29 self.__offset = timedelta(minutes=offset)
30 self.__name = name
31
32 def utcoffset(self, dt):
33 return self.__offset

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected