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

Method transitions

Lib/zoneinfo/_zoneinfo.py:456–459  ·  view source on GitHub ↗
(self, year)

Source from the content-addressed store, hash-verified

454 self.get_trans_info_fromutc = self._get_trans_info_fromutc
455
456 def transitions(self, year):
457 start = self.start.year_to_epoch(year)
458 end = self.end.year_to_epoch(year)
459 return start, end
460
461 def _get_trans_info(self, ts, year, fold):
462 """Get the information about the current transition - tti"""

Callers 2

_get_trans_infoMethod · 0.95

Calls 1

year_to_epochMethod · 0.45

Tested by

no test coverage detected