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

Method __init__

Lib/test/datetimetester.py:5466–5468  ·  view source on GitHub ↗
(self, uofs, dofs=None)

Source from the content-addressed store, hash-verified

5464
5465 class UOFS(DST):
5466 def __init__(self, uofs, dofs=None):
5467 DST.__init__(self, dofs)
5468 self.uofs = timedelta(minutes=uofs)
5469 def utcoffset(self, dt):
5470 return self.uofs
5471

Callers

nothing calls this directly

Calls 2

timedeltaClass · 0.90
__init__Method · 0.45

Tested by

no test coverage detected