Improve UnicodeTranslateError stub (#6397)

This commit is contained in:
Alex Waygood
2021-11-27 14:48:36 +00:00
committed by GitHub
parent 575a008744
commit df8472f586

View File

@@ -1628,7 +1628,14 @@ class UnicodeEncodeError(UnicodeError):
reason: str
def __init__(self, __encoding: str, __object: str, __start: int, __end: int, __reason: str) -> None: ...
class UnicodeTranslateError(UnicodeError): ...
class UnicodeTranslateError(UnicodeError):
encoding: None
object: str
start: int
end: int
reason: str
def __init__(self, __object: str, __start: int, __end: int, __reason: str) -> None: ...
class Warning(Exception): ...
class UserWarning(Warning): ...
class DeprecationWarning(Warning): ...