diff --git a/stdlib/3/builtins.pyi b/stdlib/3/builtins.pyi index 8293f3f3c..22d9b9cce 100644 --- a/stdlib/3/builtins.pyi +++ b/stdlib/3/builtins.pyi @@ -306,7 +306,7 @@ class bytes(ByteString): def strip(self, chars: bytes = None) -> bytes: ... def swapcase(self) -> bytes: ... def title(self) -> bytes: ... - def translate(self, table: bytes) -> bytes: ... + def translate(self, table: bytes, delete: bytes = None) -> bytes: ... def upper(self) -> bytes: ... def zfill(self, width: int) -> bytes: ... @classmethod @@ -379,7 +379,7 @@ class bytearray(MutableSequence[int], ByteString): def strip(self, chars: bytes = None) -> bytearray: ... def swapcase(self) -> bytearray: ... def title(self) -> bytearray: ... - def translate(self, table: bytes) -> bytearray: ... + def translate(self, table: bytes, delete: bytes = None) -> bytearray: ... def upper(self) -> bytearray: ... def zfill(self, width: int) -> bytearray: ... @classmethod