We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e320b87 commit 2897712Copy full SHA for 2897712
src/libtmux/window.py
@@ -552,9 +552,9 @@ def attached_pane(self) -> t.Optional["Pane"]:
552
# Dunder
553
#
554
def __eq__(self, other: object) -> bool:
555
- if not isinstance(other, Window):
556
- return False
557
- return self.window_id == other.window_id
+ if isinstance(other, Window):
+ return self.window_id == other.window_id
+ return False
558
559
def __repr__(self) -> str:
560
return "{}({} {}:{}, {})".format(
0 commit comments