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

Method make_tuple

mypy/test/testinfer.py:58–59  ·  view source on GitHub ↗
(self, *args: Type)

Source from the content-addressed store, hash-verified

56 )
57
58 def make_tuple(self, *args: Type) -> TupleType:
59 return TupleType(list(args), TypeFixture().std_tuple)
60
61 def test_named_args(self) -> None:
62 self.assert_map(["x"], [(ARG_POS, "x")], [[0]])

Callers 1

test_tuple_starMethod · 0.95

Calls 3

TupleTypeClass · 0.90
TypeFixtureClass · 0.90
listClass · 0.85

Tested by

no test coverage detected