get rid of Pather.mk()
This commit is contained in:
parent
6975787717
commit
d79a0a6388
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user