Commit 71617c6a authored by Denis Bilenko's avatar Denis Bilenko

fix typos in RLock's methods

parent dd05ac6a
......@@ -221,11 +221,11 @@ class RLock(object):
def _release_save(self):
count = self._count
self._count = 0
owner = self.__owner
owner = self._owner
self._owner = None
self._block.release()
return (count, owner)
def _is_owned(self):
return self.owner is getcurrent()
return self._owner is getcurrent()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment