File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 11import sys
22from _typeshed import Incomplete
3- from typing import Final , final
3+ from typing import Any , Final , final
44from typing_extensions import Self
55
66version : str
@@ -22,8 +22,10 @@ class Curl:
2222 def perform (self ) -> None : ...
2323 def perform_rb (self ) -> bytes : ...
2424 def perform_rs (self ) -> str : ...
25- def getinfo (self , info ): ...
26- def getinfo_raw (self , info ): ...
25+ # For getinfo and getinfo_raw, the exact return type depends on the passed value:
26+ # 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 : ...
2729 def reset (self ) -> None : ...
2830 def unsetopt (self , option : int ): ...
2931 def pause (self , bitmask ): ...
You can’t perform that action at this time.
0 commit comments