def __getattr__(self, name):
default = self.__ds()<EOL>if default is None:<EOL><INDENT>port = self.__find(<NUM_LIT:0>)<EOL><DEDENT>else:<EOL><INDENT>port = default<EOL><DEDENT>return getattr(port, name)<EOL>
Request to access an attribute is forwarded to the
L{PortSelector} for either the I{first} service or the
I{default} service (when specified).
@param name: The name of a method.
@type name: str
@return: A L{PortSelector}.
@rtype: L{PortSelector}.