Code
Hub
Trending
Following
Digest
Agents
Workspaces
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ myself
Method
myself
Lib/test/test_descr.py:490–490 ·
view source on GitHub ↗
(cls)
Source
from the content-addressed store, hash-verified
488
self.assertEqual(a.getstate(), 10)
489
class
_metaclass(type):
490
def
myself(cls):
return
cls
491
class
D(metaclass=_metaclass):
492
pass
493
self.assertEqual(D.myself(), D)
Callers
1
test_metaclass
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected