diff --git a/stdlib/3/builtins.pyi b/stdlib/3/builtins.pyi index 541bc1588..b4ee85b2d 100644 --- a/stdlib/3/builtins.pyi +++ b/stdlib/3/builtins.pyi @@ -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): ...