mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Removed Acquire, which I won't be using anymore.
This commit is contained in:
parent
45c7f773ac
commit
1aa73acd8d
@ -54,15 +54,6 @@ class TupleSubclass(type):
|
|||||||
return super(TupleSubclass, cls).__new__(cls, name, bases, dict)
|
return super(TupleSubclass, cls).__new__(cls, name, bases, dict)
|
||||||
|
|
||||||
|
|
||||||
class Acquire(object):
|
|
||||||
# Mixin for acquiring attributes from parents.
|
|
||||||
def __init__(self, attr):
|
|
||||||
self.__parent = attr
|
|
||||||
|
|
||||||
def __getattr__(self, attr):
|
|
||||||
return getattr(self.__parent, attr)
|
|
||||||
|
|
||||||
|
|
||||||
class Synchronized(type):
|
class Synchronized(type):
|
||||||
METHODS = '__synchronized__'
|
METHODS = '__synchronized__'
|
||||||
LOCK = '_Synchronized_rlock'
|
LOCK = '_Synchronized_rlock'
|
||||||
|
Loading…
Reference in New Issue
Block a user