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

Method total_weeks

src/pendulum/duration.py:137–138  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

135 return self.total_seconds() / SECONDS_PER_DAY
136
137 def total_weeks(self) -> float:
138 return self.total_days() / 7
139
140 if PYPY:
141

Callers 2

in_weeksMethod · 0.95
test_in_weeksFunction · 0.80

Calls 1

total_daysMethod · 0.95

Tested by 1

test_in_weeksFunction · 0.64