get rid of Pather.mk()
This commit is contained in:
parent
d683372e26
commit
f1ca5a0111
@ -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