### Install frozenlist via pip Source: https://frozenlist.aio-libs.org Use this command to install the frozenlist package from PyPI. ```bash $ pip install frozenlist ``` -------------------------------- ### frozenlist.FrozenList Source: https://frozenlist.aio-libs.org Construct a new non-frozen list from an items iterable. The list implements all collections.abc.MutableSequence methods plus additional APIs for freezing. ```APIDOC ## frozenlist.FrozenList ### Description Construct a new non-frozen list from an items iterable. The list implements all collections.abc.MutableSequence methods plus additional APIs for freezing. ### Constructor - **items** (iterable) - Required - The iterable to initialize the list with. ### Properties - **frozen** (bool) - Read-only property. True if the list is frozen (modifications are forbidden). ### Methods - **freeze()** - Freeze the list. There is no way to thaw it back. ### Usage Example ```python from frozenlist import FrozenList fl = FrozenList([1, 2, 3]) print(fl.frozen) # False fl.freeze() print(fl.frozen) # True # fl.append(4) # Raises RuntimeError ``` ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.