diff --git a/masque/pattern.py b/masque/pattern.py index 92f17c4..ddd1632 100644 --- a/masque/pattern.py +++ b/masque/pattern.py @@ -113,6 +113,15 @@ class Pattern(LockableImpl, AnnotatableImpl, Mirrorable, metaclass=AutoSlots): return new def rename(self: P, name: str) -> P: + """ + Chainable function for renaming the pattern. + + Args: + name: The new name + + Returns: + self + """ self.name = name return self