MCPcopy Create free account
hub / github.com/pallets/flask / __init__

Method __init__

tests/test_json.py:152–154  ·  view source on GitHub ↗
(self, hours, name)

Source from the content-addressed store, hash-verified

150 """
151
152 def __init__(self, hours, name):
153 self.__offset = datetime.timedelta(hours=hours)
154 self.__name = name
155
156 def utcoffset(self, dt):
157 return self.__offset

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected