File tree Expand file tree Collapse file tree 3 files changed +7
-13
lines changed
Expand file tree Collapse file tree 3 files changed +7
-13
lines changed Original file line number Diff line number Diff line change @@ -145,11 +145,7 @@ def _list_sessions(self):
145145
146146 @property
147147 def _sessions (self ):
148- """Return list of the server's sessions as :py:obj:`dict`.
149-
150- :rtype: list
151-
152- """
148+ """Property / alias to return :meth:`~._list_sessions`."""
153149
154150 return self ._list_sessions ()
155151
@@ -165,7 +161,7 @@ def list_sessions(self):
165161
166162 @property
167163 def sessions (self ):
168- """Return a :py:obj:`list` of the server's :class:`Session` objects ."""
164+ """Property / alias to return :meth:`~.list_sessions` ."""
169165 return self .list_sessions ()
170166 #: Alias of :attr:`sessions`.
171167 children = sessions
Original file line number Diff line number Diff line change @@ -231,9 +231,10 @@ def _list_windows(self):
231231
232232 return windows
233233
234- #: Property of :meth:_list_windows()
235234 @property
236235 def _windows (self ):
236+ """Property / alias to return :meth:`~._list_windows`."""
237+
237238 return self ._list_windows ()
238239
239240 def list_windows (self ):
@@ -250,7 +251,7 @@ def list_windows(self):
250251
251252 @property
252253 def windows (self ):
253- """Return a :py:obj:`list` of the server's :class:`Window` objects ."""
254+ """Property / alias to return :meth:`~.list_windows` ."""
254255 return self .list_windows ()
255256 #: Alias of :attr:`windows`.
256257 children = windows
Original file line number Diff line number Diff line change @@ -382,11 +382,8 @@ def _list_panes(self):
382382
383383 @property
384384 def _panes (self ):
385- """Return list of the windows' panes as :py:obj:`dict`.
385+ """Property / alias to return :meth:`~._list_panes`."""
386386
387- :rtype: list
388-
389- """
390387 return self ._list_panes ()
391388
392389 def list_panes (self ):
@@ -400,7 +397,7 @@ def list_panes(self):
400397
401398 @property
402399 def panes (self ):
403- """Return a :py:obj:`list` of the windows' :class:`Pane` objects ."""
400+ """Property / alias to return :meth:`~.list_panes` ."""
404401 return self .list_panes ()
405402 #: Alias of :attr:`panes`.
406403 children = panes
You can’t perform that action at this time.
0 commit comments