Skip to content

Commit 494571b

Browse files
committed
Docs: Fix minor typos
1 parent 3b14715 commit 494571b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ahkpy/window.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1305,7 +1305,7 @@ class Window(BaseWindow):
13051305
def is_active(self) -> bool:
13061306
"""Whether the window is active (read-only).
13071307
1308-
Returns ``None`` unless the window/control exists.
1308+
Returns ``None`` unless the window exists.
13091309
13101310
:type: bool
13111311
@@ -1551,7 +1551,7 @@ def get_control(self, class_or_text, match="startswith") -> Control:
15511551
argument specifies the matching behavior and defaults to
15521552
``"startswith"``. For other modes refer to :meth:`Windows.filter`.
15531553
1554-
Returns ``Control(None)`` if the either window or control doesn't exist.
1554+
Returns ``Control(None)`` if either window or control doesn't exist.
15551555
15561556
:command: `ControlGet
15571557
<https://www.autohotkey.com/docs/commands/ControlGet.htm>`_
@@ -1611,7 +1611,7 @@ def always_on_top(self, value):
16111611
self.unpin_from_top()
16121612

16131613
def pin_to_top(self):
1614-
"""Make the window to always be on top.
1614+
"""Make the window be always on top.
16151615
16161616
Does nothing unless the window exists.
16171617

0 commit comments

Comments
 (0)