def __init__(self, name="top_block"): """ Create a top block with a given name. """ # not calling hier_block2.__init__, we set our own _impl self._impl = top_block_swig(name) self.handle_sigint = True
def __init__(self, name="top_block"): self._tb = top_block_swig(name)