From 59290413e75b5a3b4372e5626e5497c03a6f4324 Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Mon, 17 Jul 2023 21:28:57 -0700 Subject: [PATCH] move __repr__ higher --- masque/library.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/masque/library.py b/masque/library.py index a5db368..bf7d3bd 100644 --- a/masque/library.py +++ b/masque/library.py @@ -71,6 +71,9 @@ class ILibraryView(Mapping[str, 'Pattern'], metaclass=ABCMeta): #__contains__, keys, items, values, get, __eq__, __ne__ supplied by Mapping + def __repr__(self) -> str: + return '' + def abstract_view(self) -> 'AbstractView': """ Returns: @@ -90,9 +93,6 @@ class ILibraryView(Mapping[str, 'Pattern'], metaclass=ABCMeta): """ return Abstract(name=name, ports=self[name].ports) - def __repr__(self) -> str: - return '' - def dangling_refs( self, tops: str | Sequence[str] | None = None,