Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ f
Method
f
Lib/test/test_annotationlib.py:103–104 ·
view source on GitHub ↗
(x: int, y: doesntexist)
Source
from the content-addressed store, hash-verified
101
102
def
test_function(self):
103
def
f(x: int, y: doesntexist):
104
pass
105
106
anno = get_annotations(f, format=Format.FORWARDREF)
107
self.assertIs(anno[
"x"
], int)
Callers
nothing calls this directly
Calls
1
call_func
Function · 0.85
Tested by
no test coverage detected