Permalink
Browse files

extends is now override

  • Loading branch information...
1 parent fc55cd0 commit 7e7421285c6e89ace4b1f13a24d204cf3614b668 @jensens jensens committed Jul 30, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/node/ext/zodb/behaviors.py
@@ -2,7 +2,7 @@
from plumber import (
Behavior,
default,
- extend,
+ override,
finalize,
plumb,
)
@@ -30,22 +30,22 @@ 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
__getitem__.
"""
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

0 comments on commit 7e74212

Please sign in to comment.