We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 105380a commit 445aff0Copy full SHA for 445aff0
bpython/importcompletion.py
@@ -48,12 +48,8 @@
48
),
49
)
50
51
-_LOADED_INODE_DATACLASS_ARGS = {"frozen": True}
52
-if sys.version_info[:2] >= (3, 10):
53
- _LOADED_INODE_DATACLASS_ARGS["slots"] = True
54
55
-
56
-@dataclass(**_LOADED_INODE_DATACLASS_ARGS)
+@dataclass(frozen=True, slots=True)
57
class _LoadedInode:
58
dev: int
59
inode: int
0 commit comments