def block(context_name, parent_block_func, view_func=None):
    def decorator(block_func):
        block = Block(block_func, view_func)
        parent_block = Block.block_mapping[parent_block_func]
        parent_block.append_context_block(context_name, block)
        return block_func
    return decorator
:Parameters:
dataset/ETHPy150Open quokkaproject/flask-htmlbuilder/flaskext/htmlbuilder.py/block--crossover with--dataset/ETHPy150Open los-cocos/cocos/cocos/collision_model.py/AARectShape.__init__