Language Features

PyBisect

Python stdlib module — bisect. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.bisect()Neutral
#
Signature
bisect(a, x, lo, hi, key)

Return the index where to insert item x in list a, assuming a is sorted.

.bisect_left()Neutral
#
Signature
bisect_left(a, x, lo, hi, key)

Return the index where to insert item x in list a, assuming a is sorted.

.bisect_right()Neutral
#
Signature
bisect_right(a, x, lo, hi, key)

Return the index where to insert item x in list a, assuming a is sorted.

.insort()Neutral
#
Signature
insort(a, x, lo, hi, key)

Insert item x in list a, and keep it sorted assuming a is sorted.

.insort_left()Neutral
#
Signature
insort_left(a, x, lo, hi, key)

Insert item x in list a, and keep it sorted assuming a is sorted.

.insort_right()Neutral
#
Signature
insort_right(a, x, lo, hi, key)

Insert item x in list a, and keep it sorted assuming a is sorted.

Fully-Qualified Names

FQNField
bisectfqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

rule.py
import bisect