Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/python-pendulum/pendulum
/ __str__
Method
__str__
src/pendulum/duration.py:298–299 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
296
return
timedelta(seconds=self.total_seconds())
297
298
def
__str__(self) -> str:
299
return
self.in_words()
300
301
def
__repr__(self) -> str:
302
rep = f
"{self.__class__.__name__}("
Callers
nothing calls this directly
Calls
1
in_words
Method · 0.95
Tested by
no test coverage detected