Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ setfoo
Method
setfoo
Lib/test/test_descr.py:3960–3961 ·
view source on GitHub ↗
(self, foo=None)
Source
from the content-addressed store, hash-verified
3958
self.foo = foo
3959
self.__foo = foo
3960
def
setfoo(self, foo=None):
3961
self.foo = foo
3962
def
getfoo(self):
3963
return
self.__foo
3964
def
__getstate__(self):
Callers
1
test_copy_setstate
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected