From 4af94938404b93d74bcff5b3689aee2c968c9f37 Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Sat, 7 Oct 2023 01:38:31 -0700 Subject: [PATCH] clean some old code --- masque/abstract.py | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/masque/abstract.py b/masque/abstract.py index bdc2952..05f8f06 100644 --- a/masque/abstract.py +++ b/masque/abstract.py @@ -42,23 +42,6 @@ class Abstract(PortList): self.name = name self.ports = copy.deepcopy(ports) -# def build( -# self, -# library: 'ILibrary', -# tools: 'None | Tool | MutableMapping[str | None, Tool]' = None, -# ) -> 'Builder': -# """ -# Begin building a new device around an instance of the current device -# (rather than modifying the current device). -# -# Returns: -# The new `Builder` object. -# """ -# pat = Pattern(ports=self.ports) -# pat.ref(self.name) -# new = Builder(library=library, pattern=pat, tools=tools) # TODO should Abstract have tools? -# return new - # TODO do we want to store a Ref instead of just a name? then we can translate/rotate/mirror... def __repr__(self) -> str: