Skip to content

Commit 01b11ed

Browse files
committed
tidy
1 parent 5173284 commit 01b11ed

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/etc/lldb_providers.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
from lldb import (
44
SBData,
55
SBError,
6-
SBType,
76
SBValue,
87
eBasicTypeLong,
98
eBasicTypeUnsignedLong,

src/etc/rust_types.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import re
2-
import lldb
32

43

54
class RustType(object):
@@ -86,12 +85,12 @@ class RustType(object):
8685
}
8786

8887

89-
def is_tuple_fields(fields: list[lldb.SBTypeMember]) -> bool:
88+
def is_tuple_fields(fields: list) -> bool:
9089
# type: (list) -> bool
9190
return all(TUPLE_ITEM_REGEX.match(str(field.name)) for field in fields)
9291

9392

94-
def classify_struct(name: str, fields: list[lldb.SBTypeMember]) -> str:
93+
def classify_struct(name: str, fields: list) -> str:
9594
if len(fields) == 0:
9695
return RustType.EMPTY
9796

@@ -112,7 +111,7 @@ def classify_struct(name: str, fields: list[lldb.SBTypeMember]) -> str:
112111
return RustType.STRUCT
113112

114113

115-
def classify_union(fields: list[lldb.SBTypeMember]) -> str:
114+
def classify_union(fields: list) -> str:
116115
if len(fields) == 0:
117116
return RustType.EMPTY
118117

0 commit comments

Comments
 (0)