Debian Codegraph @

mypyc/doc/frozenset_operations.rst

raw
1 .. _frozenset-ops:
2
3 Native frozenset operations
4 ===========================
5
6 These ``frozenset`` operations have fast, optimized implementations. Other
7 frozenset operations use generic implementations that are often slower.
8
9 Construction
10 ------------
11
12 Construct empty frozenset:
13
14 * ``frozenset()``
15
16 Construct frozenset from iterable:
17
18 * ``frozenset(x: Iterable)``
19
20
21 Operators
22 ---------
23
24 * ``item in s``
25
26 Functions
27 ---------
28
29 * ``len(s: set)``