0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 10:03:54 +01:00

Directly set self.value

This commit is contained in:
Erik Johnston 2016-01-29 11:29:14 +00:00
parent c046630c33
commit fb7299800f

View file

@ -72,7 +72,7 @@ class _Entry(object):
__slots__ = ["value"] __slots__ = ["value"]
def __init__(self, value): def __init__(self, value):
object.__setattr__(self, "value", value) self.value = value
def _strip_and_count_entires(d): def _strip_and_count_entires(d):