Skip to content

Commit 07a1f3c

Browse files
[gunicorn] Add comment for Any annotation
1 parent c917fa4 commit 07a1f3c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

stubs/gunicorn/gunicorn/debug.pyi

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@ class Spew:
1010
show_values: bool
1111

1212
def __init__(self, trace_names: Container[str] | None = None, show_values: bool = True) -> None: ...
13-
def __call__(self, frame: FrameType, event: str, arg: Any) -> Self: ...
13+
def __call__(
14+
self,
15+
frame: FrameType,
16+
event: str,
17+
arg: Any, # `arg` is not used inside the function, stub is set Any
18+
) -> Self: ...
1419

1520
def spew(trace_names: Container[str] | None = None, show_values: bool = False) -> None: ...
1621
def unspew() -> None: ...

0 commit comments

Comments
 (0)