declare\_custom\_block ====================== (function from :py:mod:`pyomo.core.base.block`) .. testsetup:: * # import everything from the module containing this class so that # doctests for the class docstrings see the correct environment from pyomo.core.base.block import * try: from pyomo.core.base.block import _autosummary_doctest_setup _autosummary_doctest_setup() except ImportError: pass .. currentmodule:: pyomo.core.base.block .. autofunction:: pyomo.core.base.block::declare_custom_block