mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-03 18:13:36 +08:00
move _bisect.pyi into 2and3
This commit is contained in:
11
builtins/2and3/_bisect.pyi
Normal file
11
builtins/2and3/_bisect.pyi
Normal file
@@ -0,0 +1,11 @@
|
||||
"""Stub file for the '_bisect' module."""
|
||||
|
||||
from typing import Any, Sequence, TypeVar
|
||||
|
||||
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