def __add__(self, other):
    'Support legacy add string to plug\n\n        Note:\n            Adding to short name is faster, e.g. node["t"] + "x",\n            than adding to longName, e.g. node["translate"] + "X"\n\n        Example:\n            >>> node = createNode("transform")\n            >>> node["tx"] = 5\n            >>> node["translate"] + "X"\n            5.0\n            >>> node["t"] + "x"\n            5.0\n            >>> try:\n            ...   node["t"] + node["r"]\n            ... except TypeError:\n            ...   error = True\n            ...\n            >>> error\n            True\n\n        '
    if isinstance(other, str):
        try:
            return self._node[(self.name() + other)]
        except ExistError:
            return self._node[(self.name(long=True) + other)]
    raise TypeError(("unsupported operand type(s) for +: 'Plug' and '%s'" % type(other)))
Support legacy add string to plug

Note:
    Adding to short name is faster, e.g. node["t"] + "x",
    than adding to longName, e.g. node["translate"] + "X"

Example:
    >>> node = createNode("transform")
    >>> node["tx"] = 5
    >>> node["translate"] + "X"
    5.0
    >>> node["t"] + "x"
    5.0
    >>> try:
    ...   node["t"] + node["r"]
    ... except TypeError:
    ...   error = True
    ...
    >>> error
    True
def __add__(self, other):
    'Support legacy add string to plug\n\n        Note:\n            Adding to short name is faster, e.g. node["t"] + "x",\n            than adding to longName, e.g. node["translate"] + "X"\n\n        Example:\n            >>> node = createNode("transform")\n            >>> node["tx"] = 5\n            >>> node["translate"] + "X"\n            5.0\n            >>> node["t"] + "x"\n            5.0\n            >>> try:\n            ...   node["t"] + node["r"]\n            ... except TypeError:\n            ...   error = True\n            ...\n            >>> error\n            True\n\n        '
    if isinstance(other, str):
        try:
            return self._node[(self.name() + other)]
        except ExistError:
            return self._node[(self.name(long=True) + other)]
    raise TypeError(("unsupported operand type(s) for +: 'Plug' and '%s'" % type(other)))