comtypes
comtypes copied to clipboard
safearray.py: RangeCheck error if empty array
function: def _get_row(self, dim, indices, lowerbounds, upperbounds):
exception at line when: dim >= len(indices): restore = indices[dim]
bugfix: result = [] if dim < len(indices): restore = indices[dim] else: return tuple(result) # for compatibility with pywin32.