lories.core.constants ===================== .. py:module:: lories.core.constants .. autoapi-nested-parse:: lories.core.constants ~~~~~~~~~~~~~~~~~~~~~ Classes ------- .. autoapisummary:: lories.core.constants.Constants lories.core.constants._ConstantsMeta Module Contents --------------- .. py:class:: Constants(constants=()) Bases: :py:obj:`MutableSequence`\ [\ :py:obj:`lories._core._Constant`\ ] .. autoapi-inheritance-diagram:: lories.core.constants.Constants :parts: 1 :private-bases: All the operations on a read-write sequence. Concrete subclasses must provide __new__ or __init__, __getitem__, __setitem__, __delitem__, __len__, and insert(). .. py:method:: extend(constants: Iterable[lories._core._Constant]) -> None S.extend(iterable) -- extend sequence by appending elements from the iterable .. py:method:: insert(index: int, constant: lories._core._Constant) S.insert(index, value) -- insert value before index .. py:class:: _ConstantsMeta Bases: :py:obj:`abc.ABCMeta` .. autoapi-inheritance-diagram:: lories.core.constants._ConstantsMeta :parts: 1 :private-bases: Metaclass for defining Abstract Base Classes (ABCs). Use this metaclass to create an ABC. An ABC can be subclassed directly, and then acts as a mix-in class. You can also register unrelated concrete classes (even built-in classes) and unrelated ABCs as 'virtual subclasses' -- these and their descendants will be considered subclasses of the registering ABC by the built-in issubclass() function, but the registering ABC won't show up in their MRO (Method Resolution Order) nor will method implementations defined by the registering ABC be callable (not even via super()).