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>2011-02-18 11:47:37 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-02-18 11:47:37 +0300
commit063a7f217be43718a69f6cbcfcf322ca71bdeeb0 (patch)
treeb51313f72b471bc8193b1924d6f3c3f764094b85 /doc/python_api/examples/bpy.types.Operator.py
parentc4d7bb80f508b123d13581b4189ab7293105d98c (diff)
python api docs & examples for registrable Menu/Panel/Operator/PropertyGroup classes.
Diffstat (limited to 'doc/python_api/examples/bpy.types.Operator.py')
-rw-r--r--doc/python_api/examples/bpy.types.Operator.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/python_api/examples/bpy.types.Operator.py b/doc/python_api/examples/bpy.types.Operator.py
index 2efa99ce795..52edfa0a61b 100644
--- a/doc/python_api/examples/bpy.types.Operator.py
+++ b/doc/python_api/examples/bpy.types.Operator.py
@@ -1,7 +1,14 @@
"""
Basic Operator Example
++++++++++++++++++++++
-This script is the most simple operator you can write that does something.
+This script shows simple operator which prints a message.
+
+Since the operator only has an :class:`Operator.execute` function it takes no
+user input.
+
+.. note::
+
+ Operator subclasses must be registered before accessing them from blender.
"""
import bpy