Skip to content

Commit bc0eba0

Browse files
committed
refact: clean up slots
1 parent e5f7d76 commit bc0eba0

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

src/symbols/id_/_id.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,7 @@ class SymbolID(SymbolIdABC):
4040
"declared",
4141
"filename",
4242
"has_address",
43-
"lineno",
44-
"mangled",
45-
"name",
4643
"original_name",
47-
"scope",
4844
"scope_ref",
4945
)
5046

src/symbols/id_/interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77

88
class SymbolIdABC(Symbol, ABC):
9-
__slots__ = ()
9+
__slots__ = "lineno", "mangled", "name", "scope"
1010

1111
scope: SCOPE
1212
name: str

0 commit comments

Comments
 (0)