mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 20:59:29 +00:00
Add slots
This commit is contained in:
parent
0955826b6c
commit
3d74941bed
@ -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 New Issue
Block a user