find_toplevel -> tops

libcentric
jan 1 year ago
parent 41409cf4f7
commit 438b81e62e

@ -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.

Loading…
Cancel
Save