MCPcopy Create free account
hub / github.com/dateutil/dateutil / __str__

Method __str__

src/dateutil/parser/_parser.py:1591–1595  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1589 .. versionadded:: 2.8.1
1590 """
1591 def __str__(self):
1592 try:
1593 return self.args[0] % self.args[1:]
1594 except (TypeError, IndexError):
1595 return super().__str__()
1596
1597 def __repr__(self):
1598 args = ", ".join("'%s'" % arg for arg in self.args)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected