Add slots

This commit is contained in:
Dan 2018-05-14 00:48:53 +02:00
parent 0955826b6c
commit 3d74941bed

View File

@ -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