Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions stubs/pycurl/pycurl.pyi
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import sys
from _typeshed import Incomplete
from typing import Final, final
from typing import Any, Final, final
from typing_extensions import Self

version: str
Expand All @@ -22,8 +22,10 @@ class Curl:
def perform(self) -> None: ...
def perform_rb(self) -> bytes: ...
def perform_rs(self) -> str: ...
def getinfo(self, info): ...
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
def getinfo(self, info: int) -> Any: ...
def getinfo_raw(self, info: int) -> Any: ...
def reset(self) -> None: ...
def unsetopt(self, option: int): ...
def pause(self, bitmask): ...
Expand Down