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

Method __str__

Lib/_pydatetime.py:2209–2211  ·  view source on GitHub ↗

Convert to string, for str().

(self)

Source from the content-addressed store, hash-verified

2207 return s
2208
2209 def __str__(self):
2210 "Convert to string, for str()."
2211 return self.isoformat(sep=' ')
2212
2213 @classmethod
2214 def strptime(cls, date_string, format):

Callers

nothing calls this directly

Calls 1

isoformatMethod · 0.95

Tested by

no test coverage detected