MCPcopy Index your code
hub / github.com/python/cpython / A

Class A

Lib/test/test_functools.py:2144–2152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2142 return x
2143
2144 class A:
2145 @self.module.lru_cache
2146 def test_method(self, x):
2147 return (self, x)
2148
2149 @staticmethod
2150 @self.module.lru_cache
2151 def test_staticmethod(x):
2152 return (self, x)
2153
2154 refs = [weakref.ref(test_function),
2155 weakref.ref(A.test_method),

Calls

no outgoing calls