From 0e635efa6cbd325d512ecc49eb386002a974b64e Mon Sep 17 00:00:00 2001 From: tharvik Date: Mon, 11 Jul 2016 14:04:18 +0200 Subject: [PATCH] add bytearray.insert --- stdlib/2.7/__builtin__.pyi | 1 + 1 file changed, 1 insertion(+) diff --git a/stdlib/2.7/__builtin__.pyi b/stdlib/2.7/__builtin__.pyi index e110a1a35..0ce76c9ef 100644 --- a/stdlib/2.7/__builtin__.pyi +++ b/stdlib/2.7/__builtin__.pyi @@ -383,6 +383,7 @@ class bytearray(MutableSequence[int]): def expandtabs(self, tabsize: int = 8) -> bytearray: ... def find(self, sub: str, start: int = 0, end: int = ...) -> int: ... def index(self, sub: str, start: int = 0, end: int = ...) -> int: ... + def insert(self, index: int, object: int) -> None: ... def isalnum(self) -> bool: ... def isalpha(self) -> bool: ... def isdigit(self) -> bool: ...