Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ Other
Class
Other
Lib/test/test_typing.py:2841–2846 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2839
pass
2840
2841
class
Other:
2842
attr: int = 1
2843
def
meth(self, arg: str) -> int:
2844
if
arg ==
'this'
:
2845
return
1
2846
return
0
2847
2848
class
NT(NamedTuple):
2849
x: int
Callers
1
test_protocols_isinstance_py36
Method · 0.70
Calls
no outgoing calls
Tested by
1
test_protocols_isinstance_py36
Method · 0.56
Used in the wild
real call sites across dependent graphs
searching dependent graphs…