mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-10 21:42:25 +08:00
Stubs for bisect
This commit is contained in:
committed by
Matthias Kramm
parent
aa802a9d7c
commit
8ee4065289
12
stdlib/3/bisect.pyi
Normal file
12
stdlib/3/bisect.pyi
Normal file
@@ -0,0 +1,12 @@
|
||||
from typing import Sequence, TypeVar
|
||||
|
||||
_T = TypeVar('_T')
|
||||
|
||||
def insort_left(a: Sequence[_T], x: _T, lo: int = 0, hi: int = None): pass
|
||||
def insort_right(a: Sequence[_T], x: _T, lo: int = 0, hi: int = None): pass
|
||||
|
||||
def bisect_left(a: Sequence[_T], x: _T, lo: int = 0, hi: int = None): pass
|
||||
def bisect_right(a: Sequence[_T], x: _T, lo: int = 0, hi: int = None): pass
|
||||
|
||||
insort = insort_right
|
||||
bisect = bisect_right
|
||||
Reference in New Issue
Block a user