mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
improve _bisect.pyi
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user