Explorar el Código

fix documentation

Falko Schindler hace 2 años
padre
commit
54aa9da049
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      nicegui/timer.py

+ 1 - 1
nicegui/timer.py

@@ -25,7 +25,7 @@ class Timer:
         A timer will execute a callback repeatedly with a given interval.
 
         :param interval: the interval in which the timer is called (can be changed during runtime)
-        :param callback: function or coroutine to execute when interval elapses (can return `False` to prevent view update)
+        :param callback: function or coroutine to execute when interval elapses
         :param active: whether the callback should be executed or not (can be changed during runtime)
         :param once: whether the callback is only executed once after a delay specified by `interval` (default: `False`)
         """