Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/python-pendulum/pendulum
/ days_in_year
Function
days_in_year
src/pendulum/_helpers.py:85–89 ·
view source on GitHub ↗
(year: int)
Source
from the content-addressed store, hash-verified
83
84
85
def
days_in_year(year: int) -> int:
86
if
is_leap(year):
87
return
DAYS_PER_L_YEAR
88
89
return
DAYS_PER_N_YEAR
90
91
92
def
local_time(
Callers
2
_get_iso_8601_week
Function · 0.90
test_days_in_years
Function · 0.90
Calls
1
is_leap
Function · 0.85
Tested by
1
test_days_in_years
Function · 0.72
Used in the wild
real call sites across dependent graphs
searching dependent graphs…