[Zope3-checkins] CVS: Zope3/src/zope/proxy/interfaces - context.py:1.1.2.2
Guido van Rossum
guido@python.org
Mon, 23 Dec 2002 15:17:49 -0500
Update of /cvs-repository/Zope3/src/zope/proxy/interfaces
In directory cvs.zope.org:/tmp/cvs-serv32683/interfaces
Modified Files:
Tag: NameGeddon-branch
context.py
Log Message:
Buncha renaming stuff; zope.proxy and zope.security now work.
=== Zope3/src/zope/proxy/interfaces/context.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/proxy/interfaces/context.py:1.1.2.1 Mon Dec 23 14:33:07 2002
+++ Zope3/src/zope/proxy/interfaces/context.py Mon Dec 23 15:17:48 2002
@@ -2,18 +2,23 @@
#
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved.
-#
+#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
-#
+#
##############################################################################
-import zope.interface
+"""Interfaces related to context wrappers.
-class IWrapperFuncs(Interface.Interface):
+$Id$
+"""
+
+from zope.interface import Interface
+
+class IWrapperFuncs(Interface):
""" Interface implemented by callables in 'wrapper' module """
def Wrapper(object, context=None, **data):
"""
@@ -72,18 +77,10 @@
a wrapper object.
"""
-class IWrapper(Interface.Interface):
+class IWrapper(Interface):
def __getstate__():
""" Raises AttributeError if called (to prevent pickling) """
-
-"""
-
-Revision information:
-$Id$
-"""
-from zope.interface import Interface
-
class IContextWrapper(Interface):
def ContextWrapper(object, parent, **data):
@@ -125,6 +122,3 @@
def ContainmentIterator(ob):
"""Get an iterator for the object's containment chain
"""
-
-
-