PyDoc: quiet wanings/prints when building docs

This commit is contained in:
Campbell Barton
2025-06-05 05:31:51 +00:00
parent 2d86699209
commit 6fbef14f4b
3 changed files with 2 additions and 2 deletions

View File

@@ -419,7 +419,6 @@ def main():
fout.close()
del fout
print(OUT_RST)
def arg_name_with_default(arg):

View File

@@ -1228,7 +1228,6 @@ context_type_map = {
"particle_system": [("ParticleSystem", False)],
"particle_system_editable": [("ParticleSystem", False)],
"property": [("AnyType", False), ("str", False), ("int", False)],
"pointcloud": [("PointCloud", False)],
"pose_bone": [("PoseBone", False)],
"pose_object": [("Object", False)],
"scene": [("Scene", False)],

View File

@@ -685,10 +685,12 @@ def BuildRNAInfo():
def _bpy_types_iterator():
# Don't report when these types are ignored.
suppress_warning = {
"GeometrySet",
"bpy_func",
"bpy_prop",
"bpy_prop_array",
"bpy_prop_collection",
"bpy_prop_collection_idprop",
"bpy_struct",
"bpy_struct_meta_idprop",
}