set default for library to None

This commit is contained in:
Jan Petykiewicz 2023-01-31 22:33:45 -08:00
parent 4a2c4c5220
commit c69081331c

View File

@ -103,7 +103,7 @@ class Builder(PortList):
def __init__( def __init__(
self, self,
library: Optional[MutableLibrary], library: Optional[MutableLibrary] = None,
*, *,
pattern: Optional[Pattern] = None, pattern: Optional[Pattern] = None,
ports: Union[None, str, Mapping[str, Port]] = None, ports: Union[None, str, Mapping[str, Port]] = None,