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

Method folds

Lib/test/datetimetester.py:6817–6820  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

6815 (count, zonename, dt, shift, prev_abbr, abbr))
6816
6817 def folds(self):
6818 for t, shift in self.transitions():
6819 if shift < ZERO:
6820 yield t, -shift
6821
6822 def gaps(self):
6823 for t, shift in self.transitions():

Callers 1

test_foldsMethod · 0.80

Calls 1

transitionsMethod · 0.95

Tested by

no test coverage detected