Home
last modified time | relevance | path

Searched refs:reveal_type (Results 1 – 6 of 6) sorted by relevance

/external/python/typing/docs/source/
Dquality.rst55 Checking ``reveal_type`` output from ``mypy.api.run``
59 python process. In combination with ``reveal_type``, this can be used to write
60 a function which gets the ``reveal_type`` output from an expression. Once
107 content_path.write_text(preamble + f"reveal_type({code_snippet})")
121 The test cases are run through ``mypy`` and the output of ``reveal_type`` can
139 reveal_type({[ val }}) # N: Revealed type is '{{ rt }}'
/external/python/typing/typing_extensions/
DCHANGELOG21 - Add `reveal_type`. Backport from bpo-46414.
DREADME.rst53 - ``reveal_type``
D__init__.py2768 reveal_type = typing.reveal_type variable
2770 def reveal_type(__obj: T) -> T: function
/external/python/typing/typing_extensions/src/
Dtyping_extensions.py1742 reveal_type = typing.reveal_type variable
1744 def reveal_type(__obj: T) -> T: function
Dtest_typing_extensions.py25 from typing_extensions import TypeVarTuple, Unpack, dataclass_transform, reveal_type, Never, assert…
2629 self.assertIs(obj, reveal_type(obj))