From e5bd017eec300e2cd5ddd9ee605e7bd27424bdf7 Mon Sep 17 00:00:00 2001 From: Derek Willian Stavis Date: Tue, 15 Jul 2014 16:16:17 -0300 Subject: [PATCH] Add dt documentation --- kivy/clock.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/kivy/clock.py b/kivy/clock.py index 5c49bebbe..74f174caf 100644 --- a/kivy/clock.py +++ b/kivy/clock.py @@ -3,9 +3,12 @@ Clock object ============ The :class:`Clock` object allows you to schedule a function call in the -future; once or repeatedly at specified intervals:: +future; once or repeatedly at specified intervals. You can get the time +elapsed between the scheduling and the calling of the callback via the +`dt` argument:: - def my_callback(dt): + # dt means delta-time + def my_callback(dt): pass # call my_callback every 0.5 seconds