diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-21 16:07:06 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-21 16:07:06 +0300 |
commit | dd1132416e5bcbad5d4f80631b1a9f3152a514ee (patch) | |
tree | c3ccf1d18376d42a818dc22c962bcdefc370f0f4 /doc/python_api/examples/bpy.types.Operator.2.py | |
parent | bd1299f6a4398e06db00d77f9ea7382f9e7bcf53 (diff) |
Docs: update examples for 2.8x
Use fields for properties
Diffstat (limited to 'doc/python_api/examples/bpy.types.Operator.2.py')
-rw-r--r-- | doc/python_api/examples/bpy.types.Operator.2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/python_api/examples/bpy.types.Operator.2.py b/doc/python_api/examples/bpy.types.Operator.2.py index 901bd7b21f8..5ba09c7e380 100644 --- a/doc/python_api/examples/bpy.types.Operator.2.py +++ b/doc/python_api/examples/bpy.types.Operator.2.py @@ -21,7 +21,7 @@ class ExportSomeData(bpy.types.Operator): bl_idname = "export.some_data" bl_label = "Export Some Data" - filepath = bpy.props.StringProperty(subtype="FILE_PATH") + filepath: bpy.props.StringProperty(subtype="FILE_PATH") @classmethod def poll(cls, context): |