File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 11import sys
22from _typeshed import Incomplete
3- from collections .abc import Sequence
4- from typing import Final , final
3+ from typing import Any , Final , final
54from typing_extensions import Self
65
76version : str
@@ -23,8 +22,10 @@ class Curl:
2322 def perform (self ) -> None : ...
2423 def perform_rb (self ) -> bytes : ...
2524 def perform_rs (self ) -> str : ...
26- def getinfo (self , info : int ) -> int | float | str | list [str ] | list [Sequence [tuple [str , str ]]]: ...
27- def getinfo_raw (self , info : int ) -> int | float | bytes | list [bytes ] | list [Sequence [tuple [bytes , bytes ]]]: ...
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 : ...
2829 def reset (self ) -> None : ...
2930 def unsetopt (self , option : int ): ...
3031 def pause (self , bitmask ): ...
You can’t perform that action at this time.
0 commit comments