Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python-pendulum/pendulum
/ strptime
Method
strptime
src/pendulum/datetime.py:195–196 ·
view source on GitHub ↗
(cls, time: str, fmt: str)
Source
from the content-addressed store, hash-verified
193
194
@classmethod
195
def
strptime(cls, time: str, fmt: str) -> Self:
196
return
cls.instance(datetime.datetime.strptime(time, fmt))
197
198
# Getters/Setters
199
Callers
2
_get_iso_8601_week
Function · 0.80
test_strptime
Function · 0.80
Calls
1
instance
Method · 0.45
Tested by
1
test_strptime
Function · 0.64