Skip to content

Commit 75d5d6b

Browse files
fix attached_sessions docs to reflect return type
1 parent 2eca970 commit 75d5d6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tmuxp/server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,11 +286,11 @@ def _update_panes(self):
286286
return self
287287

288288
def attached_sessions(self):
289-
"""Return active :class:`Session` object.
289+
"""Return active :class:`Session` objects.
290290
291291
This will not work where multiple tmux sessions are attached.
292292
293-
:rtype: :class:`Server`
293+
:rtype: :py:obj:`list` of :class:`Session`
294294
295295
"""
296296

0 commit comments

Comments
 (0)