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:262–263 ·
view source on GitHub ↗
(x: int, y: doesntexist)
Source
from the content-addressed store, hash-verified
260
261
def
test_function(self):
262
def
f(x: int, y: doesntexist):
263
pass
264
265
anno = get_annotations(f, format=Format.STRING)
266
self.assertEqual(anno, {
"x"
:
"int"
,
"y"
:
"doesntexist"
})
Callers
nothing calls this directly
Calls
1
a
Class · 0.70
Tested by
no test coverage detected