substitute# discopy.testable.substitute(annotation, scope)[source]# Replace the C0 and C1 type variables of a subspace annotation by the objects and arrows they stand for, rebuilding each parameterised wrapper whose factory the substitution changes. Parameters: scope (dict)