Skip to content

Commit 7830d6e

Browse files
committed
Correct doc entry for _list items
1 parent 1a6cb9e commit 7830d6e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tmuxp/server.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@ def tmux(self, *args, **kwargs):
9797
return tmux(*args, **kwargs)
9898

9999
def _list_sessions(self):
100-
"""Return a list of session information ``tmux(1)`` for the sessions.
100+
"""Return list of sessions in :py:obj:`dict` form.
101101
102-
Via ``$ tmux(1) list-sessions`` stdout.
102+
Retrieved from ``$ tmux(1) list-sessions`` stdout.
103103
104104
The :py:obj:`list` is derived from ``stdout`` in :class:`util.tmux`
105105
which wraps :py:meth:`Subprocess.Popen`.
@@ -171,9 +171,9 @@ def sessions(self):
171171
children = sessions
172172

173173
def _list_windows(self):
174-
"""Return list of dicts filtered from :meth:`__list_windows`.
174+
"""Return list of windows in :py:obj:`dict` form.
175175
176-
List of ``$ tmux(1) list-windows`` stdout.
176+
Retrieved from ``$ tmux(1) list-windows`` stdout.
177177
178178
The :py:obj:`list` is derived from ``stdout`` in :class:`util.tmux`
179179
which wraps :py:meth:`Subprocess.Popen`.
@@ -230,9 +230,9 @@ def _update_windows(self):
230230
return self
231231

232232
def _list_panes(self):
233-
"""Return list of dicts filtered from :meth:`__list_panes`.
233+
"""Return list of panes in :py:obj:`dict` form.
234234
235-
list of ``$ tmux(1) list-panes`` stdout.
235+
Retrieved from ``$ tmux(1) list-panes`` stdout.
236236
237237
The :py:obj:`list` is derived from ``stdout`` in :class:`util.tmux`
238238
which wraps :py:meth:`Subprocess.Popen`.

0 commit comments

Comments
 (0)