@@ -4,19 +4,25 @@ from typing import Any, AsyncGenerator, Coroutine, Generator, Tuple, Union
44def get_frame_ip (frame : Union [FrameType , Coroutine , Generator , AsyncGenerator ]) -> int :
55 """Get instruction pointer of a generator or coroutine."""
66
7- def set_frame_ip (frame : Union [FrameType , Coroutine , Generator , AsyncGenerator ], ip : int ):
7+ def set_frame_ip (
8+ frame : Union [FrameType , Coroutine , Generator , AsyncGenerator ], ip : int
9+ ):
810 """Set instruction pointer of a generator or coroutine."""
911
1012def get_frame_sp (frame : Union [FrameType , Coroutine , Generator , AsyncGenerator ]) -> int :
1113 """Get stack pointer of a generator or coroutine."""
1214
13- def set_frame_sp (frame : Union [FrameType , Coroutine , Generator , AsyncGenerator ], sp : int ):
15+ def set_frame_sp (
16+ frame : Union [FrameType , Coroutine , Generator , AsyncGenerator ], sp : int
17+ ):
1418 """Set stack pointer of a generator or coroutine."""
1519
1620def get_frame_bp (frame : Union [FrameType , Coroutine , Generator , AsyncGenerator ]) -> int :
1721 """Get block pointer of a generator or coroutine."""
1822
19- def set_frame_bp (frame : Union [FrameType , Coroutine , Generator , AsyncGenerator ], bp : int ):
23+ def set_frame_bp (
24+ frame : Union [FrameType , Coroutine , Generator , AsyncGenerator ], bp : int
25+ ):
2026 """Set block pointer of a generator or coroutine."""
2127
2228def get_frame_stack_at (
0 commit comments