# libtmux.Format.__add__

- **Module:** libtmux
- **Package:** libtmux
- **Language:** Python
- **Kind:** method
- **Source:** https://github.com/tmux-python/libtmux/blob/d2a146c9a045437b92013d65943b7ac70013fa24/src/libtmux/formats.py#L311
- **Page:** https://libtmux.org/en/py/latest/reference/libtmux-format-__add__/

```
libtmux.Format.__add__(self, other: str | Format) -> Format
```

Append *other*; a ``str`` is escaped and stays literal.

## Parameters

- `other` (`str | Format`)

## Raises

- [`ValueError`](https://docs.python.org/3/builtins/exceptions.html#ValueError): *other* is a ``str`` and this format ends where tmux would read
it as format syntax.
