[Zodb-checkins] CVS: Zope3/lib/python/Persistence - __init__.py:1.1.40.5
Jeremy Hylton
jeremy@zope.com
Tue, 5 Mar 2002 00:11:47 -0500
Update of /cvs-repository/Zope3/lib/python/Persistence
In directory cvs.zope.org:/tmp/cvs-serv5297
Modified Files:
Tag: Zope-3x-branch
__init__.py
Log Message:
Use cPersistence for the default implementation of Persistent.
Also add an __all__.
=== Zope3/lib/python/Persistence/__init__.py 1.1.40.4 => 1.1.40.5 ===
"""Provide access to Persistent and PersistentMapping"""
-#from cPersistence import Persistent
+from cPersistence import Persistent
-from _persistent import Persistent
-Persistent.__module__='Persistence'
+#from _persistent import Persistent
+#Persistent.__module__='Persistence'
from _persistentMapping import PersistentMapping
-PersistentMapping.__module__='Persistence'
+PersistentMapping.__module__ = 'Persistence'
+
+__all__ = ["Persistent", "PersistentMapping"]