Skip to content

Commit 2dd6331

Browse files
committed
Session(cmd): Remove **kwargs
1 parent 8c297fc commit 2dd6331

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libtmux/session.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def panes(self) -> QueryList["Pane"]:
139139
#
140140
# Command
141141
#
142-
def cmd(self, cmd: str, *args: t.Any, **kwargs: t.Any) -> tmux_cmd:
142+
def cmd(self, cmd: str, *args: t.Any) -> tmux_cmd:
143143
"""Execute tmux subcommand against target session. See :meth:`server.cmd`.
144144
145145
Returns
@@ -163,7 +163,7 @@ def cmd(self, cmd: str, *args: t.Any, **kwargs: t.Any) -> tmux_cmd:
163163
)
164164
new_args += args
165165
args = new_args
166-
return self.server.cmd(cmd, *args, **kwargs)
166+
return self.server.cmd(cmd, *args)
167167

168168
"""
169169
Commands (tmux-like)

0 commit comments

Comments
 (0)