readonly also prevents deletion
This commit is contained in:
@ -264,6 +264,9 @@ class PropertyReadOnly(PropertyDelegator):
|
||||
def __setitem__(self, key, value):
|
||||
raise PropertyWriteError(key)
|
||||
|
||||
def __delitem__(self, key):
|
||||
raise PropertyWriteError(key)
|
||||
|
||||
|
||||
class PropertyStack(PropertyManager):
|
||||
def __init__(self):
|
||||
|
Reference in New Issue
Block a user