Skip to content

Commit 22b367f

Browse files
aeroyorchsrittau
andauthored
Clarify type of value depends on option in setopt
Co-authored-by: Sebastian Rittau <sebastian.rittau@zfutura.de>
1 parent 4fbf854 commit 22b367f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stubs/pycurl/pycurl/async_multi.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ from pycurl._pycurl import Curl
88

99
class AsyncCurlMulti:
1010
def __init__(self, close_handles: bool = False) -> None: ...
11-
def setopt(self, option: int, value: Any) -> None: ...
11+
def setopt(self, option: int, value: Any) -> None: ... # type of value depends on the option
1212
def add_handle(self, curl: Curl) -> asyncio.Future[Curl]: ...
1313
def remove_handle(self, curl: Curl) -> None: ...
1414
async def perform(self, curl: Curl) -> Curl: ...

0 commit comments

Comments
 (0)