get rid of Pather.mk()
This commit is contained in:
parent
d683372e26
commit
f1ca5a0111
@ -132,19 +132,6 @@ class Pather(Builder):
|
||||
else:
|
||||
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
|
||||
def from_builder(
|
||||
cls,
|
||||
|
Loading…
Reference in New Issue
Block a user