Python: Fix doc link

This commit is contained in:
Simon Hausmann 2025-04-23 21:40:48 +02:00 committed by GitHub
parent 387a106850
commit 7c02bbd833
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -32,7 +32,7 @@ impl From<PyTimerMode> for i_slint_core::timers::TimerMode {
/// period of time.
///
/// Use `Timer.start()` to create a timer that that repeatedly triggers a callback, or
/// [`Timer::single_shot`] to trigger a callback only once.
/// `Timer.single_shot()` to trigger a callback only once.
///
/// The timer will automatically stop when garbage collected. You must keep the Timer object
/// around for as long as you want the timer to keep firing.