From b0258746660dd753b801b2dcd0be6b9d9c9169ba Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Sat, 28 Jun 2025 14:10:46 +0500 Subject: [PATCH] Fix: Pydocs: EnumProperty items is also allowing iterables Ref !141134 --- source/blender/python/intern/bpy_props.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/blender/python/intern/bpy_props.cc b/source/blender/python/intern/bpy_props.cc index 63a486cad73..51e470ec53c 100644 --- a/source/blender/python/intern/bpy_props.cc +++ b/source/blender/python/intern/bpy_props.cc @@ -3886,14 +3886,14 @@ PyDoc_STRVAR( " Python must keep a reference to the strings returned by the callback or Blender\n" " will misbehave or even crash." "\n" - " :type items: Sequence[" + " :type items: Iterable[" "tuple[str, str, str] | " "tuple[str, str, str, int] | " "tuple[str, str, str, int, int] | " "None] | " "Callable[[:class:`bpy.types.bpy_struct`, :class:`bpy.types.Context` | None], " /* NOTE(@ideasman42): a type alias would be useful here (same as above). */ - "Sequence[" + "Iterable[" "tuple[str, str, str] | " "tuple[str, str, str, int] | " "tuple[str, str, str, int, int] | "