Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RT-Thread/env-windows
/ _monthlen
Function
_monthlen
tools/python-3.11.9-amd64/Lib/calendar.py:132–133 ·
view source on GitHub ↗
(year, month)
Source
from the content-addressed store, hash-verified
130
131
132
def
_monthlen(year, month):
133
return
mdays[month] + (month == February and isleap(year))
134
135
136
def
_prevmonth(year, month):
Callers
1
itermonthdays3
Method · 0.85
Calls
1
isleap
Function · 0.85
Tested by
no test coverage detected