mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-31 00:24:24 +08:00
Added attributes for UnicodeEncodeError (#481)
This commit is contained in:
committed by
Matthias Kramm
parent
3d32e2e661
commit
3c76029c57
@@ -827,7 +827,14 @@ class UnicodeDecodeError(UnicodeError):
|
||||
reason = ... # type: str
|
||||
def __init__(self, __encoding: str, __object: bytes, __start: int, __end: int,
|
||||
__reason: str) -> None: ...
|
||||
class UnicodeEncodeError(UnicodeError): ...
|
||||
class UnicodeEncodeError(UnicodeError):
|
||||
encoding = ... # type: str
|
||||
object = ... # type: str
|
||||
start = ... # type: int
|
||||
end = ... # type: int
|
||||
reason = ... # type: str
|
||||
def __init__(self, __encoding: str, __object: str, __start: int, __end: int,
|
||||
__reason: str) -> None: ...
|
||||
class UnicodeTranslateError(UnicodeError): ...
|
||||
class ZeroDivisionError(ArithmeticError): ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user