mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
Improve UnicodeTranslateError stub (#6397)
This commit is contained in:
@@ -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): ...
|
||||
|
||||
Reference in New Issue
Block a user