def perform(self, X): # work around some awkwardness with blocks rval = Block.perform(self, X) if isinstance(rval, list): rval = tuple(rval) return rval