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

Method __init__

Lib/xmlrpc/client.py:276–280  ·  view source on GitHub ↗
(self, value=0)

Source from the content-addressed store, hash-verified

274 """
275
276 def __init__(self, value=0):
277 if isinstance(value, str):
278 self.value = value
279 else:
280 self.value = _strftime(value)
281
282 def make_comparable(self, other):
283 if isinstance(other, DateTime):

Callers

nothing calls this directly

Calls 1

_strftimeFunction · 0.85

Tested by

no test coverage detected