docs: def outputs_of(self, partition_index):
          """The outputs of the partition at ``partition_index``.
  
          Note that this returns a tuple of element indices, since coarse-
          grained blackboxes may have multiple outputs.
          """
          partition = self.partition[partition_index]
          outputs = set(partition).intersection(self.output_indices)
          return tuple(sorted(outputs))