Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ recipe-496741.py
File
recipe-496741.py
recipes/Python/496741_Object_Proxying/recipe-496741.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
class
Proxy(object):
2
__slots__ = [
"_obj"
,
"__weakref__"
]
3
def
__init__(self, obj):
4
object.__setattr__(self,
"_obj"
, obj)
Callers
nothing calls this directly
Calls
7
dir
Function · 0.85
list
Class · 0.85
Proxy
Class · 0.70
append
Method · 0.45
sort
Method · 0.45
extend
Method · 0.45
__getattribute__
Method · 0.45
Tested by
no test coverage detected