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

fixed #49

parent dc41d2bd
No related branches found
No related tags found
No related merge requests found
# v2.17.19
* fixed #49
__version__ = '2.17.19a1'
__version__ = '2.17.19a2'
......@@ -13,7 +13,8 @@ class LockedDataset:
>>> class MyDataset(LockedDataset):
>>> def __init__(self):
>>> super(MyDataset, self).__init__()
>>> self.mydata: str = "lol wut"
>>> with self:
>>> self.mydata: str = "lol wut"
>>> @LockedDataset.locked
>>> def protected(self):
>>> self.mydata = "updated atomically"
......
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