Skip to content

Commit a54d840

Browse files
committed
Replace annotations for unsupported SOCKOPTFUNCTION with SOCKETFUNCTION
1 parent 54990b3 commit a54d840

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stubs/pycurl/pycurl.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ class CurlMulti:
100100
| int
101101
| list[str | bytes]
102102
| tuple[str | bytes, ...]
103-
| Callable[[int, int], int]
104103
| Callable[[int], Literal[-1, 0] | None]
104+
| Callable[[int, int, Self, Any | None], Literal[-1, 0] | None] # See `assign()` below for `Any | None`
105105
| None
106106
),
107107
) -> None: ...

0 commit comments

Comments
 (0)