def iterate_multiple_addresses(self, ports: (str, list, tuple)):
if isinstance(ports, (str, int)):<EOL><INDENT>ports = tuple(ports,)<EOL><DEDENT>result = []<EOL>for port in ports:<EOL><INDENT>result.append(self.to_address(port))<EOL><DEDENT>return result<EOL>
transforms an iterable, or the expectation of an iterable
into zmq addresses