Merge branch 'blender-v4.3-release'

This commit is contained in:
Bastien Montagne
2024-11-10 18:24:49 +01:00
2 changed files with 3 additions and 3 deletions

View File

@@ -1658,7 +1658,7 @@ def pyrna2sphinx(basepath):
del key, descr
for func in struct.functions:
args_kw_only_index = next((i for i in i, prop in enumerate(func.args) if not prop.is_required), -1)
args_kw_only_index = next((i for i, prop in enumerate(func.args) if not prop.is_required), -1)
if args_kw_only_index == -1:
args_str = ", ".join(prop.get_arg_default(force=False) for prop in func.args)
else: