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.types.AddonPreferences.1.py')
-rw-r--r--doc/python_api/examples/bpy.types.AddonPreferences.1.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/python_api/examples/bpy.types.AddonPreferences.1.py b/doc/python_api/examples/bpy.types.AddonPreferences.1.py
index fdc073b3e2f..95285e8ac0c 100644
--- a/doc/python_api/examples/bpy.types.AddonPreferences.1.py
+++ b/doc/python_api/examples/bpy.types.AddonPreferences.1.py
@@ -22,15 +22,15 @@ class ExampleAddonPreferences(AddonPreferences):
# when defining this in a submodule of a python package.
bl_idname = __name__
- filepath = StringProperty(
+ filepath: StringProperty(
name="Example File Path",
subtype='FILE_PATH',
)
- number = IntProperty(
+ number: IntProperty(
name="Example Number",
default=4,
)
- boolean = BoolProperty(
+ boolean: BoolProperty(
name="Example Boolean",
default=False,
)