mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 05:18:10 +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?
|
# TODO: Organize the code better?
|
||||||
|
|
||||||
class Str(str):
|
class Str(str):
|
||||||
|
__slots__ = "_client", "_entities"
|
||||||
|
|
||||||
def __init__(self, *args):
|
def __init__(self, *args):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
self._client = None
|
self._client = None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user