File: _bisect.pyi

package info (click to toggle)
mypy 0.470-complete-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,864 kB
  • ctags: 3,264
  • sloc: python: 21,838; makefile: 18
file content (11 lines) | stat: -rw-r--r-- 578 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
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: ...