Python 3 stubs: use str instead of typing.Text (#7638)

This commit is contained in:
Alex Waygood
2022-04-16 15:47:00 +01:00
committed by GitHub
parent d802e65f67
commit 819900fa55
5 changed files with 56 additions and 45 deletions

View File

@@ -1,4 +1,4 @@
from typing import Any, Text
from typing import Any
from typing_extensions import final
GLOBAL_ACK_EINTR: int
@@ -24,7 +24,7 @@ class Curl:
def setopt_string(self, option: int, value: str) -> None: ...
def perform(self) -> None: ...
def perform_rb(self) -> bytes: ...
def perform_rs(self) -> Text: ...
def perform_rs(self) -> str: ...
def getinfo(self, info: Any) -> Any: ...
def getinfo_raw(self, info: Any) -> Any: ...
def reset(self) -> None: ...