def create(self, tolerance, *inputs): """ "Helper method that returns a Template with the given tolerance and inputs. """ t = Template(tolerance=tolerance) for i in inputs: t.learn(i) return t