Skip to content

Commit 324df09

Browse files
committed
Core: Fix code scanning warnings notes
1 parent 3f5fd35 commit 324df09

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

volatility3/framework/objects/__init__.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -611,12 +611,10 @@ def child_template(cls, template: interfaces.objects.Template, child: str) -> in
611611

612612

613613
@overload
614-
def __getitem__(self, i: int) -> interfaces.objects.Template:
615-
...
614+
def __getitem__(self, i: int) -> interfaces.objects.Template: ...
616615

617616
@overload
618-
def __getitem__(self, s: slice) -> List[interfaces.objects.Template]:
619-
...
617+
def __getitem__(self, s: slice) -> List[interfaces.objects.Template]: ...
620618

621619
def __getitem__(self, i):
622620
"""Returns the i-th item from the array."""

0 commit comments

Comments
 (0)