[Zodb-checkins] CVS: Zope3/lib/python/Persistence - __init__.py:1.11
Jeremy Hylton
jeremy@zope.com
Thu, 10 Oct 2002 18:25:42 -0400
Update of /cvs-repository/Zope3/lib/python/Persistence
In directory cvs.zope.org:/tmp/cvs-serv27861
Modified Files:
__init__.py
Log Message:
Simplify copy_reg() call.
=== Zope3/lib/python/Persistence/__init__.py 1.10 => 1.11 ===
--- Zope3/lib/python/Persistence/__init__.py:1.10 Thu Oct 10 17:36:18 2002
+++ Zope3/lib/python/Persistence/__init__.py Thu Oct 10 18:25:41 2002
@@ -13,13 +13,7 @@
##############################################################################
"""Provide access to Persistent C extension types."""
-from cPersistence import Persistent, PersistentMetaClass
+from cPersistence import Persistent, PersistentMetaClass, simple_new
-# Wire up simple constructor
-import cPersistence
-##simple_new = cPersistence.simple_new
-##del cPersistence.simple_new
-##del cPersistence
import copy_reg
-copy_reg.constructor(cPersistence.simple_new)
-##del copy_reg
+copy_reg.constructor(simple_new)