We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1879edf commit c357564Copy full SHA for c357564
docs/source/common_issues.rst
@@ -507,11 +507,11 @@ to see the types of all local variables at once. Example:
507
508
``reveal_type`` and ``reveal_locals`` are handled specially by mypy during
509
type checking, and don't have to be defined or imported.
510
-
+
511
However, if you want to run your code,
512
you'll have to remove any ``reveal_type`` and ``reveal_locals``
513
calls from your program or else Python will give you an error at runtime.
514
515
Alternatively, you can import ``reveal_type`` from ``typing_extensions``
516
or ``typing`` (on Python 3.11 and newer)
517
0 commit comments