mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-06 20:28:51 +08:00
Bump mypy to 1.0 (#9684)
This commit is contained in:
1 parent
f7cb7f33b2
commit
efee70abfa
37 files changed
+45
-167
No files matched your search
@@ -42,5 +42,5 @@ def clamp_value(minimum: int, val: int, maximum: int) -> int: ...
|
||||
# This function attempts to convert objects to bytes,
|
||||
# *but* just returns the object unchanged if that was unsuccessful!
|
||||
def asbytes(s: object) -> object: ...
|
||||
def b(s: str | bytes, encoding: str = "utf-8") -> bytes: ...
|
||||
def u(s: str | bytes, encoding: str = "utf-8") -> str: ...
|
||||
def b(s: str | bytes, encoding: str = "utf8") -> bytes: ...
|
||||
def u(s: str | bytes, encoding: str = "utf8") -> str: ...
|
||||
Reference in new issue
Block a user