improve _bisect.pyi

This commit is contained in:
Matthias Kramm
2015-09-21 10:20:28 -07:00
parent b192b6fed8
commit 1ce0b666f4

View File

@@ -1,18 +1,11 @@
"""Stub file for the '_bisect' module."""
# This is an autogenerated file. It serves as a starting point
# for a more precise manual annotation of this module.
# Feel free to edit the source below, but remove this header when you do.
from typing import Any, List, Tuple, Dict, Generic
from typing import Any, Sequence, TypeVar
def bisect(a, x, *args, **kwargs) -> int: ...
def bisect_left(a, x, *args, **kwargs) -> int: ...
def bisect_right(a, x, *args, **kwargs) -> int: ...
def insort(a, x, *args, **kwargs) -> None: ...
def insort_left(a, x, *args, **kwargs) -> None: ...
def insort_right(a, x, *args, **kwargs) -> None: ...
T = TypeVar('T')
def bisect(a: Sequence[T], x: T, lo: int = ..., hi: int = ...) -> int: ...
def bisect_left(a: Sequence[T], x: T, lo: int = ..., hi: int = ...) -> int: ...
def bisect_right(a: Sequence[T], x: T, lo: int = ..., hi: int = ...) -> int: ...
def insort(a: Sequence[T], x: T, lo: int = ..., hi: int = ...) -> None: ...
def insort_left(a: Sequence[T], x: T, lo: int = ..., hi: int = ...) -> None: ...
def insort_right(a: Sequence[T], x: T, lo: int = ..., hi: int = ...) -> None: ...