@@ -42,9 +42,9 @@ class Server(TmuxRelationalObject, EnvironmentMixin):
4242 config_file = None
4343 #: ``-2`` or ``-8``
4444 colors = None
45- #: unique child ID key used by :class:`TmuxRelationalObject`
45+ #: unique child ID used by :class:`~libtmux.common. TmuxRelationalObject`
4646 child_id_attribute = 'session_id'
47- #: namespace used :class:`TmuxMappingObject`
47+ #: namespace used :class:`~libtmux.common. TmuxMappingObject`
4848 formatter_prefix = 'server_'
4949
5050 def __init__ (
@@ -72,11 +72,11 @@ def __init__(
7272 self .colors = colors
7373
7474 def cmd (self , * args , ** kwargs ):
75- """Return :class:`util.tmux_cmd` send tmux commands with sockets, colors .
75+ """Execute tmux command and return output .
7676
77- :rtype: :class:`util .tmux_cmd`
77+ :rtype: :class:`common .tmux_cmd`
7878
79- : versionchanged: 0.8
79+ .. versionchanged: : 0.8
8080 Renamed from ``.tmux`` to ``.cmd``.
8181
8282 """
@@ -103,8 +103,8 @@ def _list_sessions(self):
103103
104104 Retrieved from ``$ tmux(1) list-sessions`` stdout.
105105
106- The :py:obj:`list` is derived from ``stdout`` in :class:`util.tmux_cmd`
107- which wraps :py:class:`subprocess.Popen`.
106+ The :py:obj:`list` is derived from ``stdout`` in
107+ :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`.
108108
109109 :rtype: :py:obj:`list` of :py:obj:`dict`
110110
@@ -161,16 +161,16 @@ def list_sessions(self):
161161 def sessions (self ):
162162 """Property / alias to return :meth:`~.list_sessions`."""
163163 return self .list_sessions ()
164- #: Alias of :attr:`sessions`, , used by :class:`TmuxRelationalObject`
164+ #: Alias :attr:`sessions` for :class:`~libtmux.common. TmuxRelationalObject`
165165 children = sessions
166166
167167 def _list_windows (self ):
168168 """Return list of windows in :py:obj:`dict` form.
169169
170170 Retrieved from ``$ tmux(1) list-windows`` stdout.
171171
172- The :py:obj:`list` is derived from ``stdout`` in :class:`util.tmux_cmd`
173- which wraps :py:class:`subprocess.Popen`.
172+ The :py:obj:`list` is derived from ``stdout`` in
173+ :class:`common.tmux_cmd` which wraps :py:class:`subprocess.Popen`.
174174
175175 :rtype: list
176176
@@ -227,8 +227,8 @@ def _list_panes(self):
227227
228228 Retrieved from ``$ tmux(1) list-panes`` stdout.
229229
230- The :py:obj:`list` is derived from ``stdout`` in :class:`util.tmux_cmd`
231- which wraps :py:class:`subprocess.Popen`.
230+ The :py:obj:`list` is derived from ``stdout`` in
231+ :class:`util.tmux_cmd` which wraps :py:class:`subprocess.Popen`.
232232
233233 :rtype: list
234234
0 commit comments