Skip to content

Commit 3b14715

Browse files
committed
Docs: Expand on priority argument in set_countdown
1 parent acdfb41 commit 3b14715

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ahkpy/timer.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,10 @@ def set_countdown(interval=0.25, func=None, *args, priority=0):
5757
If you want the *func* to be called with keyword arguments use
5858
:func:`functools.partial`.
5959
60-
The optional parameter *priority* is an integer between -2147483648 and
61-
2147483647.
60+
The optional *priority* argument sets the priority of the `AHK thread
61+
<https://www.autohotkey.com/docs/misc/Threads.htm>`_ where *func* will be
62+
executed. It must be an :class:`int` between -2147483648 and
63+
2147483647. Defaults to 0.
6264
6365
If *func* is given, returns an instance :class:`Timer`. Otherwise, the
6466
function works as a decorator::

0 commit comments

Comments
 (0)