MCPcopy Index your code
hub / github.com/python/mypy / visit_parameters

Method visit_parameters

mypy/server/astdiff.py:452–458  ·  view source on GitHub ↗
(self, typ: Parameters)

Source from the content-addressed store, hash-verified

450 return ("UnpackType", snapshot_type(typ.type))
451
452 def visit_parameters(self, typ: Parameters) -> SnapshotItem:
453 return (
454 "Parameters",
455 snapshot_types(typ.arg_types),
456 tuple(encode_optional_str(name) for name in typ.arg_names),
457 tuple(k.value for k in typ.arg_kinds),
458 )
459
460 def visit_callable_type(self, typ: CallableType) -> SnapshotItem:
461 if typ.is_generic():

Callers

nothing calls this directly

Calls 3

snapshot_typesFunction · 0.85
tupleClass · 0.85
encode_optional_strFunction · 0.85

Tested by

no test coverage detected