Skip to content
Snippets Groups Projects
Commit 96a25289 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

more __slots__

parent 56a94389
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,7 @@
* fixed `wraps` to provide __annotations__ as well
* a slight fix for PyPy
* added __slots__ to JSONAble
* added __slots__ to OmniHashableMixin
# v2.7.3
......
......@@ -42,6 +42,7 @@ class OmniHashableMixin(metaclass=ABCMeta):
for this to work in your class
"""
__slots__ = ()
@property
@abstractmethod
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment