How to find the full class name for a frame

Dieter Maurer dieter at handshake.de
Fri Aug 4 13:41:12 EDT 2023


Jason Friedman wrote at 2023-8-3 21:34 -0600:
> ...
>my_frame = inspect.currentframe()
> ...
>My question is: let's say I wanted to add a type hint for my_frame.

`my_frame` will be an instance of `Types.FrameType`.


More information about the Python-list mailing list