Skip to content

Commit 1cc1adf

Browse files
committed
libtmux(docs[session]): fix kill_window docstring type to match signature
why: Docstring said "str, optional" but the actual signature accepts str | int | None. what: - Change target_window type in docstring to "str | int, optional"
1 parent 968727a commit 1cc1adf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libtmux/session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ def kill_window(self, target_window: str | int | None = None) -> None:
606606
607607
Parameters
608608
----------
609-
target_window : str, optional
609+
target_window : str | int, optional
610610
Window to kill.
611611
612612
Raises

0 commit comments

Comments
 (0)