MCPcopy Index your code
hub / github.com/RustPython/RustPython / _monthlen

Function _monthlen

Lib/calendar.py:176–177  ·  view source on GitHub ↗
(year, month)

Source from the content-addressed store, hash-verified

174
175
176def _monthlen(year, month):
177 return mdays[month] + (month == FEBRUARY and isleap(year))
178
179
180def _prevmonth(year, month):

Callers 1

itermonthdays3Method · 0.85

Calls 1

isleapFunction · 0.85

Tested by

no test coverage detected