MCPcopy 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_weekFunction · 0.80
test_strptimeFunction · 0.80

Calls 1

instanceMethod · 0.45

Tested by 1

test_strptimeFunction · 0.64