nft-update-addresses: MACAdress: convert comment to docstring

main
Felix Stupp 1 month ago
parent 543c4cac1d
commit 81715a7897
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -89,7 +89,7 @@ JsonObj: TypeAlias = Mapping[str, JsonVal]
T = TypeVar("T", contravariant=True) T = TypeVar("T", contravariant=True)
MACAddress = NewType("MACAddress", str) MACAddress = NewType("MACAddress", str)
# format: aabbccddeeff (lower-case, without separators) """format: aabbccddeeff (lower-case, without separators)"""
NftProtocol = NewType("NftProtocol", str) # e.g. tcp, udp, … NftProtocol = NewType("NftProtocol", str) # e.g. tcp, udp, …
Port = NewType("Port", int) Port = NewType("Port", int)
IfName = NewType("IfName", str) IfName = NewType("IfName", str)

Loading…
Cancel
Save