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 'source/blender/python/api2_2x/doc/Sys.py')
-rw-r--r--source/blender/python/api2_2x/doc/Sys.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/doc/Sys.py b/source/blender/python/api2_2x/doc/Sys.py
index 7908e6df0b8..7536296d0ff 100644
--- a/source/blender/python/api2_2x/doc/Sys.py
+++ b/source/blender/python/api2_2x/doc/Sys.py
@@ -6,7 +6,7 @@ The Blender.sys submodule.
sys
===
-B{New}: L{exists}, L{makename}, L{join}.
+B{New}: L{exists}, L{makename}, L{join}, L{sleep}.
This module provides a minimal set of helper functions and data. Its purpose
is to avoid the need for the standard Python module 'os', in special 'os.path',
@@ -129,3 +129,11 @@ def time ():
@rtype: float
@return: the elapsed time in seconds.
"""
+
+def sleep (millisecs = 10):
+ """
+ Sleep for the specified amount of time.
+ @type millisecs: int
+ @param millisecs: the amount of time in milliseconds to sleep. The default
+ is 10 which is 0.1 seconds.
+ """