find_toplevel -> tops

This commit is contained in:
jan 2023-04-07 15:20:51 -07:00
parent 64413f69d4
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.