How to find the full class name for a frame

Jason Friedman jsf80238 at gmail.com
Fri Aug 4 16:38:40 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`.
>

Confirmed. Thank you!


More information about the Python-list mailing list