Use typing_extensions.Self instead of _typeshed.Self (#9702)

This commit is contained in:
Alex Waygood
2023-02-15 11:32:43 +01:00
committed by GitHub
parent 8cd6d81f15
commit 7180d0223b
140 changed files with 597 additions and 610 deletions

View File

@@ -1,6 +1,6 @@
import sys
from _typeshed import Incomplete, Self
from typing_extensions import final
from _typeshed import Incomplete
from typing_extensions import Self, final
version: str
@@ -27,7 +27,7 @@ class Curl:
def unsetopt(self, option: int) -> Incomplete: ...
def pause(self, bitmask: Incomplete) -> Incomplete: ...
def errstr(self) -> str: ...
def duphandle(self: Self) -> Self: ...
def duphandle(self) -> Self: ...
def errstr_raw(self) -> bytes: ...
def set_ca_certs(self, __value: bytes | str) -> None: ...