Closed Road-hog123 closed 1 month ago
__getitem__(), __setitem__() and __delitem__() for bpy_prop_array and bpy_prop_collection now all support passing a slice as a key, with overloads to change the return/input type to tuple[GenericType] when doing so.
__getitem__()
__setitem__()
__delitem__()
bpy_prop_array
bpy_prop_collection
slice
key
tuple[GenericType]
@JonathanPlasse
Thank you for reviewing. If the current change looks good to you, please approve it before merging this PR.
@Road-hog123 @JonathanPlasse
Thanks! I merged this PR now.
__getitem__()
,__setitem__()
and__delitem__()
forbpy_prop_array
andbpy_prop_collection
now all support passing aslice
as akey
, with overloads to change the return/input type totuple[GenericType]
when doing so.