MCPcopy 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
132def _monthlen(year, month):
133 return mdays[month] + (month == February and isleap(year))
134
135
136def _prevmonth(year, month):

Callers 1

itermonthdays3Method · 0.85

Calls 1

isleapFunction · 0.85

Tested by

no test coverage detected