Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ _monthlen
Function
_monthlen
Lib/calendar.py:195–196 ·
view source on GitHub ↗
(year, month)
Source
from the content-addressed store, hash-verified
193
194
195
def
_monthlen(year, month):
196
return
mdays[month] + (month == FEBRUARY and isleap(year))
197
198
199
def
_prevmonth(year, month):
Callers
1
itermonthdays3
Method · 0.85
Calls
1
isleap
Function · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…