From 183112ad4096e95b7993dd14ec88bf50ff4b617d Mon Sep 17 00:00:00 2001 From: Spencer Magnusson Date: Mon, 16 Sep 2024 20:15:13 +1000 Subject: [PATCH] Docs: update AddonPreferences comment on __package__ use in extensions Ref: !127661 --- doc/python_api/examples/bpy.types.AddonPreferences.1.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/python_api/examples/bpy.types.AddonPreferences.1.py b/doc/python_api/examples/bpy.types.AddonPreferences.1.py index c417b1304f9..faac07bea4b 100644 --- a/doc/python_api/examples/bpy.types.AddonPreferences.1.py +++ b/doc/python_api/examples/bpy.types.AddonPreferences.1.py @@ -18,8 +18,8 @@ from bpy.props import StringProperty, IntProperty, BoolProperty class ExampleAddonPreferences(AddonPreferences): - # this must match the add-on name, use '__package__' - # when defining this in a submodule of a python package. + # This must match the add-on name, use `__package__` + # when defining this for add-on extensions or a sub-module of a python package. bl_idname = __name__ filepath: StringProperty(