mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-01 13:14:52 +00:00
Add slots
This commit is contained in:
parent
0955826b6c
commit
3d74941bed
1 changed files with 2 additions and 0 deletions
|
|
@ -33,6 +33,8 @@ log = logging.getLogger(__name__)
|
|||
# TODO: Organize the code better?
|
||||
|
||||
class Str(str):
|
||||
__slots__ = "_client", "_entities"
|
||||
|
||||
def __init__(self, *args):
|
||||
super().__init__()
|
||||
self._client = None
|
||||
|
|
|
|||
Loading…
Reference in a new issue