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

Method timetz

Lib/_pydatetime.py:2078–2081  ·  view source on GitHub ↗

Return the time part, with same tzinfo.

(self)

Source from the content-addressed store, hash-verified

2076 return time(self.hour, self.minute, self.second, self.microsecond, fold=self.fold)
2077
2078 def timetz(self):
2079 "Return the time part, with same tzinfo."
2080 return time(self.hour, self.minute, self.second, self.microsecond,
2081 self._tzinfo, fold=self.fold)
2082
2083 def replace(self, year=None, month=None, day=None, hour=None,
2084 minute=None, second=None, microsecond=None, tzinfo=True,

Callers 5

test_extractMethod · 0.80
test_more_astimezoneMethod · 0.80
test_memberMethod · 0.80

Calls 1

timeClass · 0.85

Tested by 5

test_extractMethod · 0.64
test_more_astimezoneMethod · 0.64
test_memberMethod · 0.64