Debian Codegraph @

docs/sorteddict.rst

raw
1 .. automodule:: sortedcontainers.sorteddict
2
3
4 SortedDict
5 ..........
6
7 .. autoclass:: sortedcontainers.SortedDict
8 :show-inheritance:
9
10 .. automethod:: __init__
11 .. autoattribute:: key
12 .. automethod:: __getitem__
13 .. automethod:: __setitem__
14 .. automethod:: __delitem__
15 .. automethod:: __iter__
16 .. automethod:: __len__
17 .. automethod:: setdefault
18 .. automethod:: update
19 .. automethod:: clear
20 .. automethod:: pop
21 .. automethod:: popitem
22 .. automethod:: __contains__
23 .. automethod:: get
24 .. automethod:: peekitem
25 .. automethod:: keys
26 .. automethod:: items
27 .. automethod:: values
28 .. automethod:: copy
29 .. automethod:: fromkeys
30 .. automethod:: __reversed__
31 .. automethod:: __eq__
32 .. automethod:: __ne__
33 .. automethod:: __repr__
34 .. automethod:: _check
35
36 Sorted list methods (applies to keys):
37
38 * :func:`SortedList.bisect_left`
39 * :func:`SortedList.bisect_right`
40 * :func:`SortedList.count`
41 * :func:`SortedList.index`
42 * :func:`SortedList.irange`
43 * :func:`SortedList.islice`
44 * :func:`SortedList._reset`
45
46 Additional sorted list methods, if key-function used:
47
48 * :func:`SortedKeyList.bisect_key_left`
49 * :func:`SortedKeyList.bisect_key_right`
50 * :func:`SortedKeyList.irange_key`
51
52
53 SortedKeysView
54 ..............
55
56 .. autoclass:: sortedcontainers.SortedKeysView
57 :show-inheritance:
58
59 .. automethod:: __getitem__
60 .. automethod:: __delitem__
61
62
63 SortedItemsView
64 ...............
65
66 .. autoclass:: sortedcontainers.SortedItemsView
67 :show-inheritance:
68
69 .. automethod:: __getitem__
70
71
72 SortedValuesView
73 ................
74
75 .. autoclass:: sortedcontainers.SortedValuesView
76 :show-inheritance:
77
78 .. automethod:: __getitem__