[Zope3-checkins] CVS: Zope3/src/zope/xmlpickle - __init__.py:1.3
Guido van Rossum
guido@python.org
Tue, 6 May 2003 15:59:15 -0400
Update of /cvs-repository/Zope3/src/zope/xmlpickle
In directory cvs.zope.org:/tmp/cvs-serv27601/zope/xmlpickle
Modified Files:
__init__.py
Log Message:
Support 'from zope.xmlpickle import loads, dumps'.
=== Zope3/src/zope/xmlpickle/__init__.py 1.2 => 1.3 ===
--- Zope3/src/zope/xmlpickle/__init__.py:1.2 Wed Dec 25 09:15:35 2002
+++ Zope3/src/zope/xmlpickle/__init__.py Tue May 6 15:58:44 2003
@@ -13,9 +13,11 @@
##############################################################################
"""Utility for creating Python pickles in XML format.
-The XMLPickle module exports two functions:
+The zope.xmlpickle package exports two functions:
dumps(object) -- Returns an XML pickle
loads(xmlpickle) -- Returns an object loaded from the pickle.
"""
+
+from xmlpickle import dumps, loads