get rid of Pather.mk()

This commit is contained in:
Jan Petykiewicz 2023-10-07 01:53:45 -07:00
parent d683372e26
commit f1ca5a0111

View File

@ -132,19 +132,6 @@ class Pather(Builder):
else: else:
self.tools = dict(tools) self.tools = dict(tools)
@classmethod
def mk(
cls,
library: ILibrary,
name: str,
*,
ports: str | Mapping[str, Port] | None = None,
tools: Tool | MutableMapping[str | None, Tool] | None = None,
) -> tuple[str, 'Pather']:
""" Name-and-make combination """ # TODO document
pather = Pather(library, name=name, ports=ports, tools=tools)
return name, pather
@classmethod @classmethod
def from_builder( def from_builder(
cls, cls,