Skip to content

Commit a6d7792

Browse files
committed
update tmuxp.workspacebuilder to numpy-style
1 parent 9c19086 commit a6d7792

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

tmuxp/workspacebuilder.py

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -337,12 +337,18 @@ def config_after_window(self, w, wconf):
337337

338338

339339
def freeze(session):
340-
"""Freeze live tmux session and Return session config :py:obj:`dict`.
340+
"""
341+
Freeze live tmux session and Return session config :py:obj:`dict`.
341342
342-
:param session: session object
343-
:type session: :class:`Session`
344-
:rtype: dict
343+
Parameters
344+
----------
345+
session : :class:`Session`
346+
session object
345347
348+
Returns
349+
-------
350+
dict
351+
tmuxp compatible workspace config
346352
"""
347353
sconf = {'session_name': session['session_name'], 'windows': []}
348354

0 commit comments

Comments
 (0)