Added attributes for UnicodeEncodeError (#481)

This commit is contained in:
Daniel F Moisset authored and Matthias Kramm committed 2016-08-18 05:57:16 -07:00
1 parent 3d32e2e661
commit 3c76029c57
1 file changed
+8 -1
+8 -1
View File
@@ -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): ...