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

Method _start_of_second

src/pendulum/datetime.py:789–793  ·  view source on GitHub ↗

Reset microseconds to 0.

(self)

Source from the content-addressed store, hash-verified

787 return cast("Self", getattr(self, f"_end_of_{unit}")())
788
789 def _start_of_second(self) -> Self:
790 """
791 Reset microseconds to 0.
792 """
793 return self.set(microsecond=0)
794
795 def _end_of_second(self) -> Self:
796 """

Callers

nothing calls this directly

Calls 1

setMethod · 0.95

Tested by

no test coverage detected