[Zope-Checkins] CVS: Zope3/lib/python/Persistence - Module.py:1.3

Jeremy Hylton jeremy@zope.com
Fri, 21 Jun 2002 18:43:10 -0400


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

Modified Files:
	Module.py 
Log Message:
Add __repr__()




=== Zope3/lib/python/Persistence/Module.py 1.2 => 1.3 ===
         self.__name__ = name
 
+    def __repr__(self):
+        return "<PersistentModule %s>" % self.__name__
+
     def __getstate__(self):
         d = self.__dict__.copy()
         del d["__builtins__"]