Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ _nextmonth
Function
_nextmonth
Lib/calendar.py:206–210 ·
view source on GitHub ↗
(year, month)
Source
from the content-addressed store, hash-verified
204
205
206
def
_nextmonth(year, month):
207
if
month == 12:
208
return
year+1, 1
209
else
:
210
return
year, month+1
211
212
213
class
Calendar(object):
Callers
1
itermonthdays3
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…