mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-22 01:28:29 +08:00
Bump mypy to 1.11.1 (#12463)
This commit is contained in:
@@ -8,10 +8,10 @@ DEFAULT_ENCODING: str
|
||||
def from_unicode(value: str | bytes, encoding: str = "utf-8") -> bytes: ...
|
||||
def to_unicode(value: str | bytes, encoding: str = "utf-8") -> str: ...
|
||||
@overload
|
||||
def data_encode(data: str, encoding: str = ...) -> bytes: ... # type: ignore[misc]
|
||||
def data_encode(data: str, encoding: str = ...) -> bytes: ...
|
||||
@overload
|
||||
def data_encode(data: dict[Any, Any], encoding: str = ...) -> dict[Any, Any]: ...
|
||||
@overload
|
||||
def data_encode(data: list[Any] | tuple[Any, ...], encoding: str = ...) -> list[Any]: ... # type: ignore[misc]
|
||||
def data_encode(data: list[Any] | tuple[Any, ...], encoding: str = ...) -> list[Any]: ...
|
||||
@overload
|
||||
def data_encode(data: _T, encoding: str = ...) -> _T: ...
|
||||
|
||||
Reference in New Issue
Block a user