-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modernize Slots management into dataclasses
Originally slots were using just nested ararys indexed by position, but we can do better now. This project was originally written in Python 3.6 before many more modern things like dataclasses exist, so now we can use dataclass(slots=True) for automatic slots generation as well as easily use dataclasses for inner-encapsulated data management.
- Loading branch information
Showing
2 changed files
with
149 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters