Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ add_one_level
Method
add_one_level
Lib/test/test_class.py:822–824 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
820
C()
821
822
def
add_one_level():
823
#Each call to C() consumes 2 levels, so offset by 1.
824
C()
825
826
with
self.assertRaises(RecursionError):
827
add_one_level()
Callers
nothing calls this directly
Calls
1
C
Class · 0.70
Tested by
no test coverage detected