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

Method time

Lib/_pydatetime.py:2034–2036  ·  view source on GitHub ↗

Return the time part, with tzinfo None.

(self)

Source from the content-addressed store, hash-verified

2032 return date(self._year, self._month, self._day)
2033
2034 def time(self):
2035 "Return the time part, with tzinfo None."
2036 return time(self.hour, self.minute, self.second, self.microsecond, fold=self.fold)
2037
2038 def timetz(self):
2039 "Return the time part, with same tzinfo."

Callers 3

todayMethod · 0.45
nowMethod · 0.45
utcnowMethod · 0.45

Calls 1

timeClass · 0.70

Tested by

no test coverage detected