MCPcopy 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
195def _monthlen(year, month):
196 return mdays[month] + (month == FEBRUARY and isleap(year))
197
198
199def _prevmonth(year, month):

Callers 1

itermonthdays3Method · 0.85

Calls 1

isleapFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…