@@ -4,19 +4,25 @@ from typing import Any, AsyncGenerator, Coroutine, Generator, Tuple, Union
4
4
def get_frame_ip (frame : Union [FrameType , Coroutine , Generator , AsyncGenerator ]) -> int :
5
5
"""Get instruction pointer of a generator or coroutine."""
6
6
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
+ ):
8
10
"""Set instruction pointer of a generator or coroutine."""
9
11
10
12
def get_frame_sp (frame : Union [FrameType , Coroutine , Generator , AsyncGenerator ]) -> int :
11
13
"""Get stack pointer of a generator or coroutine."""
12
14
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
+ ):
14
18
"""Set stack pointer of a generator or coroutine."""
15
19
16
20
def get_frame_bp (frame : Union [FrameType , Coroutine , Generator , AsyncGenerator ]) -> int :
17
21
"""Get block pointer of a generator or coroutine."""
18
22
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
+ ):
20
26
"""Set block pointer of a generator or coroutine."""
21
27
22
28
def get_frame_stack_at (
0 commit comments