MCPcopy Index your code
hub / github.com/python-pendulum/pendulum / is_past

Method is_past

src/pendulum/datetime.py:517–521  ·  view source on GitHub ↗

Determines if the instance is in the past, ie. less than now.

(self)

Source from the content-addressed store, hash-verified

515 return self > self.now(self.timezone)
516
517 def is_past(self) -> bool:
518 """
519 Determines if the instance is in the past, ie. less than now.
520 """
521 return self < self.now(self.timezone)
522
523 def is_long_year(self) -> bool:
524 """

Callers

nothing calls this directly

Calls 1

nowMethod · 0.95

Tested by

no test coverage detected