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

Method time

Lib/_pydatetime.py:2074–2076  ·  view source on GitHub ↗

Return the time part, with tzinfo None.

(self)

Source from the content-addressed store, hash-verified

2072 return date(self._year, self._month, self._day)
2073
2074 def time(self):
2075 "Return the time part, with tzinfo None."
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."

Callers 3

todayMethod · 0.45
nowMethod · 0.45
utcnowMethod · 0.45

Calls 1

timeClass · 0.85

Tested by

no test coverage detected