[Zodb-checkins] CVS: Zope3/lib/python/Persistence - _persistent.py:1.1.2.2

Jim Fulton jim@zope.com
Thu, 22 Nov 2001 16:08:56 -0500


Update of /cvs-repository/Zope3/lib/python/Persistence
In directory cvs.zope.org:/tmp/cvs-serv4986

Modified Files:
      Tag: Zope-3x-branch
	_persistent.py 
Log Message:
Added interface assertion.


=== Zope3/lib/python/Persistence/_persistent.py 1.1.2.1 => 1.1.2.2 ===
 from time import time
+from IPersistent import IPersistent
 
 oget=object.__getattribute__
 oset=object.__setattr__
@@ -7,6 +8,8 @@
 class Persistent(object):
     """Mix-in class providing IPersistent support
     """
+
+    __implements__ = IPersistent
 
     from _persistentmech import _p_changed
     _p_changed=_p_changed()