Skip to content

Commit f937e68

Browse files
otherJL0tony
authored andcommitted
Add type hinting to by return value
1 parent e393113 commit f937e68

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

libtmux/pane.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def _info(self):
6363
attrs = {"pane_id": self._pane_id}
6464

6565
# from https://github.com/serkanyersen/underscore.py
66-
def by(val):
66+
def by(val) -> bool:
6767
for key in attrs.keys():
6868
try:
6969
if attrs[key] != val[key]:

libtmux/session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def _info(self):
6565

6666
attrs = {"session_id": str(self._session_id)}
6767

68-
def by(val):
68+
def by(val) -> bool:
6969
for key in attrs.keys():
7070
try:
7171
if attrs[key] != val[key]:

libtmux/window.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def _info(self, *args):
7474
attrs = {"window_id": self._window_id}
7575

7676
# from https://github.com/serkanyersen/underscore.py
77-
def by(val):
77+
def by(val) -> bool:
7878
for key in attrs.keys():
7979
try:
8080
if attrs[key] != val[key]:

0 commit comments

Comments
 (0)