Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'doc/python_api/examples/bpy.app.timers.1.py')
-rw-r--r--doc/python_api/examples/bpy.app.timers.1.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/python_api/examples/bpy.app.timers.1.py b/doc/python_api/examples/bpy.app.timers.1.py
index bae3b94b24a..a8ce7fde552 100644
--- a/doc/python_api/examples/bpy.app.timers.1.py
+++ b/doc/python_api/examples/bpy.app.timers.1.py
@@ -4,7 +4,9 @@ Run a Function in x Seconds
"""
import bpy
+
def in_5_seconds():
print("Hello World")
+
bpy.app.timers.register(in_5_seconds, first_interval=5)