diff --git a/scripts/modules/bpy/utils/__init__.py b/scripts/modules/bpy/utils/__init__.py index 4dfeed548e0..89d3c7c2d48 100644 --- a/scripts/modules/bpy/utils/__init__.py +++ b/scripts/modules/bpy/utils/__init__.py @@ -1022,9 +1022,9 @@ def register_tool(tool_cls, *, after=None, separator=False, group=False): Register a tool in the toolbar. :arg tool_cls: A tool subclass. - :type tool_cls: :class:`bpy.types.WorkSpaceTool` + :type tool_cls: type[:class:`bpy.types.WorkSpaceTool`] :arg after: Optional identifiers this tool will be added after. - :type after: Sequence[str] | None + :type after: Sequence[str] | set[str] | None :arg separator: When true, add a separator before this tool. :type separator: bool :arg group: When true, add a new nested group of tools.