Searched refs:reveal_type (Results 1 – 6 of 6) sorted by relevance
55 Checking ``reveal_type`` output from ``mypy.api.run``59 python process. In combination with ``reveal_type``, this can be used to write60 a function which gets the ``reveal_type`` output from an expression. Once107 content_path.write_text(preamble + f"reveal_type({code_snippet})")121 The test cases are run through ``mypy`` and the output of ``reveal_type`` can139 reveal_type({[ val }}) # N: Revealed type is '{{ rt }}'
21 - Add `reveal_type`. Backport from bpo-46414.
53 - ``reveal_type``
2768 reveal_type = typing.reveal_type variable2770 def reveal_type(__obj: T) -> T: function
1742 reveal_type = typing.reveal_type variable1744 def reveal_type(__obj: T) -> T: function
25 from typing_extensions import TypeVarTuple, Unpack, dataclass_transform, reveal_type, Never, assert…2629 self.assertIs(obj, reveal_type(obj))