Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ set_100
Method
set_100
Lib/test/test_class.py:932–934 ·
view source on GitHub ↗
(obj)
Source
from the content-addressed store, hash-verified
930
931
@staticmethod
932
def
set_100(obj):
933
for
i in range(100):
934
setattr(obj, f
"a{i}"
, i)
935
936
def
check_100(self, obj):
937
for
i in range(100):
Callers
2
test_many_attributes
Method · 0.95
test_many_attributes_with_dict
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected