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

fix for v2.2.8

parent eb145412
No related branches found
Tags v2.2.8
No related merge requests found
...@@ -18,6 +18,7 @@ Satella is a zero-requirements Python 3.5+ library for writing ...@@ -18,6 +18,7 @@ Satella is a zero-requirements Python 3.5+ library for writing
server applications, especially those dealing with mundane but server applications, especially those dealing with mundane but
useful things. It also runs on PyPy. useful things. It also runs on PyPy.
See [LICENSE](LICENSE) for text of the license. See [LICENSE](LICENSE) for text of the license. This library may contain
code taken from elsewhere on the internets, so this is copyright (c) respective authors.
**satella 1.0 remains in [maintenance mode](https://github.com/piotrmaslanka/satella/tree/satella1.0)** **satella 1.0 remains in [maintenance mode](https://github.com/piotrmaslanka/satella/tree/satella1.0)**
...@@ -10,7 +10,7 @@ class ImmutableMetaType(ABCMeta): ...@@ -10,7 +10,7 @@ class ImmutableMetaType(ABCMeta):
return p return p
class Immutable: class Immutable(metaclass=ImmutableMetaType):
""" """
A mix-in to make your classes immutable. A mix-in to make your classes immutable.
...@@ -20,7 +20,6 @@ class Immutable: ...@@ -20,7 +20,6 @@ class Immutable:
>>> def __init__(self): >>> def __init__(self):
>>> self.attribute = 'value' >>> self.attribute = 'value'
""" """
__metaclass__ = ImmutableMetaType
__locked_for_writes = False __locked_for_writes = False
......
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