find_toplevel -> tops

This commit is contained in:
jan 2023-04-07 15:20:51 -07:00
parent 41409cf4f7
commit 438b81e62e

View File

@ -305,7 +305,7 @@ class Library(Mapping[str, 'Pattern'], metaclass=ABCMeta):
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.