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

Method tuple

mypy/test/testtypes.py:664–665  ·  view source on GitHub ↗
(self, *a: Type)

Source from the content-addressed store, hash-verified

662 # Helpers
663
664 def tuple(self, *a: Type) -> TupleType:
665 return TupleType(list(a), self.fx.std_tuple)
666
667 def callable(self, vars: list[str], *a: Type) -> CallableType:
668 """callable(args, a1, ..., an, r) constructs a callable with

Calls 2

TupleTypeClass · 0.90
listClass · 0.85

Tested by

no test coverage detected