[Zope3-checkins] CVS: Zope3/src/zope/context - __init__.py:1.23
Jim Fulton
jim@zope.com
Thu, 12 Jun 2003 05:28:34 -0400
Update of /cvs-repository/Zope3/src/zope/context
In directory cvs.zope.org:/tmp/cvs-serv26033/src/zope/context
Modified Files:
__init__.py
Log Message:
Added the context-descriptor utility interface to the module
interface.
Ultimately, this was to support making the available in zapi.
=== Zope3/src/zope/context/__init__.py 1.22 => 1.23 ===
--- Zope3/src/zope/context/__init__.py:1.22 Tue Jun 10 08:53:14 2003
+++ Zope3/src/zope/context/__init__.py Thu Jun 12 05:28:33 2003
@@ -29,10 +29,11 @@
from zope.context.wrapper import ContextDescriptor, ContextMethod
from zope.context.wrapper import ContextProperty, Wrapper
from zope.proxy import queryProxy, queryInnerProxy, isProxy, getProxiedObject
+from zope.context.interfaces import IContextAwareDescriptorSupport
from zope.context.interfaces import IWrapperIntrospection
-moduleProvides(IWrapperIntrospection)
-__all__ = tuple(IWrapperIntrospection)
+moduleProvides(IWrapperIntrospection, IContextAwareDescriptorSupport)
+__all__ = tuple(IWrapperIntrospection) + tuple(IContextAwareDescriptorSupport)
def getWrapperData(_ob, create=False):
wrapper = queryProxy(_ob, Wrapper)