Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

extends is now override

  • Loading branch information...
commit 7e7421285c6e89ace4b1f13a24d204cf3614b668 1 parent fc55cd0
@jensens jensens authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/node/ext/zodb/behaviors.py
View
8 src/node/ext/zodb/behaviors.py
@@ -2,7 +2,7 @@
from plumber import (
Behavior,
default,
- extend,
+ override,
finalize,
plumb,
)
@@ -30,7 +30,7 @@ class ZODBBehavior(Behavior):
"""This part requires plumbed class to inherit from Persistent.
"""
- @extend
+ @override
@property
def __parent__(self):
"""Always expect _v_parent to be set, see __setattr__ and
@@ -38,14 +38,14 @@ def __parent__(self):
"""
return self._v_parent
- @extend
+ @override
def __getitem__(self, key):
v = self.storage[key]
if INode.providedBy(v):
v._v_parent = self
return v
- @extend
+ @override
def __setattr__(self, name, value):
"""If name is __parent__, write value to _v_parent. This avoids
_p_changed to be set set by Persitent.__setattr__. Using a read/write
Please sign in to comment.
Something went wrong with that request. Please try again.