[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2024-10-25 06:28:37 +00:00
parent 7427a23e94
commit 99ffcb7e57

View File

@ -78,7 +78,7 @@ class DynamicArray:
if index < 0 or index >= self.size:
raise IndexError("index out of range")
return self.array[index]
def __setitem__(self, index: int, value: int) -> None:
if index < 0 or index >= self.size:
raise IndexError("index out of range")