From 7cd621bebc0db1481f5714f22058cf02707fded1 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 20 Jan 2025 15:49:54 +1100 Subject: [PATCH] Fix incorrect docs for bpy.types.bpy_prop_collection_idprop ID Property methods were missing from the API docs, error in [0] which added docs for this type. [0]: 10e3e3b4a07065cb3bd8c81b8afa0fabc9b0193d Co-authored-by: nutti --- doc/python_api/sphinx_doc_gen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py index d285e5f207a..acf37cf8b8c 100644 --- a/doc/python_api/sphinx_doc_gen.py +++ b/doc/python_api/sphinx_doc_gen.py @@ -1866,14 +1866,14 @@ def pyrna2sphinx(basepath): ) if _BPY_PROP_COLLECTION_FAKE: - class_value = bpy.data.objects.__class__ + class_value = bpy.types.bpy_prop_collection fake_bpy_type( "bpy.types", class_value, _BPY_PROP_COLLECTION_FAKE, "built-in class used for all collections.", use_subclasses=False, ) if _BPY_PROP_COLLECTION_IDPROP_FAKE: - class_value = bpy.data.objects.__class__ + class_value = bpy.types.bpy_prop_collection_idprop fake_bpy_type( "bpy.types", class_value, _BPY_PROP_COLLECTION_IDPROP_FAKE, "built-in class used for user defined collections.", use_subclasses=False,