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 * .. currentmodule:: pyomo.core.base.block .. autofunction:: declare_custom_block