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:
authorCampbell Barton <ideasman42@gmail.com>2019-11-01 02:53:47 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-11-01 02:53:47 +0300
commit61bf51acb58f84338d5442141a2352039fa6d5da (patch)
treea3675b689860bde3ce4fe5d879d4097509742887 /doc/python_api/examples/bpy.app.timers.3.py
parent78ad368d12d8ff2d8c226353f5097b24afb8851b (diff)
Cleanup: pep8 for examples
Diffstat (limited to 'doc/python_api/examples/bpy.app.timers.3.py')
-rw-r--r--doc/python_api/examples/bpy.app.timers.3.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/python_api/examples/bpy.app.timers.3.py b/doc/python_api/examples/bpy.app.timers.3.py
index 79daf6a7740..a738f9ca01c 100644
--- a/doc/python_api/examples/bpy.app.timers.3.py
+++ b/doc/python_api/examples/bpy.app.timers.3.py
@@ -6,6 +6,7 @@ import bpy
counter = 0
+
def run_10_times():
global counter
counter += 1
@@ -14,4 +15,5 @@ def run_10_times():
return None
return 0.1
+
bpy.app.timers.register(run_10_times)