find_toplevel -> tops

This commit is contained in:
jan 2023-04-07 15:20:51 -07:00
commit 0efd9afd16

View file

@ -305,7 +305,7 @@ class Library(Mapping[str, 'Pattern'], metaclass=ABCMeta):
return cropped_name return cropped_name
def find_toplevel(self) -> list[str]: def tops(self) -> list[str]:
""" """
Return the list of all patterns that are not referenced by any other pattern in the library. Return the list of all patterns that are not referenced by any other pattern in the library.