We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57ab037 commit e389c7bCopy full SHA for e389c7b
1 file changed
stubs/pycurl/pycurl.pyi
@@ -1,6 +1,6 @@
1
import sys
2
from _typeshed import Incomplete
3
-from typing import Final, final
+from typing import Any, Final, final
4
from typing_extensions import Self
5
6
version: str
@@ -22,8 +22,10 @@ class Curl:
22
def perform(self) -> None: ...
23
def perform_rb(self) -> bytes: ...
24
def perform_rs(self) -> str: ...
25
- def getinfo(self, info): ...
26
- def getinfo_raw(self, info): ...
+ # For getinfo and getinfo_raw, the exact return type depends on the passed value:
+ # http://pycurl.io/docs/latest/curlobject.html#pycurl.Curl.getinfo
27
+ def getinfo(self, info: int) -> Any: ...
28
+ def getinfo_raw(self, info: int) -> Any: ...
29
def reset(self) -> None: ...
30
def unsetopt(self, option: int): ...
31
def pause(self, bitmask): ...
0 commit comments