[Zope3-checkins] CVS: Zope3/src/zope/proxy/interfaces - __init__.py:1.1.2.2 context.py:1.1.2.3
Tim Peters
tim.one@comcast.net
Tue, 24 Dec 2002 21:21:44 -0500
Update of /cvs-repository/Zope3/src/zope/proxy/interfaces
In directory cvs.zope.org:/tmp/cvs-serv19240/src/zope/proxy/interfaces
Modified Files:
Tag: NameGeddon-branch
__init__.py context.py
Log Message:
Whitespace normalization, via Python's Tools/scripts/reindent.py. The
files are fixed-points of that script now. Fixed a few cases where
code relied on significant trailing whitespace (ouch).
=== Zope3/src/zope/proxy/interfaces/__init__.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/proxy/interfaces/__init__.py:1.1.2.1 Mon Dec 23 14:33:07 2002
+++ Zope3/src/zope/proxy/interfaces/__init__.py Tue Dec 24 21:21:14 2002
@@ -2,14 +2,14 @@
#
# 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
-#
+#
##############################################################################
"""
@@ -43,5 +43,3 @@
def isProxy(obj):
"""Checks whether the given object is a proxy
"""
-
-
=== Zope3/src/zope/proxy/interfaces/context.py 1.1.2.2 => 1.1.2.3 ===
--- Zope3/src/zope/proxy/interfaces/context.py:1.1.2.2 Mon Dec 23 15:17:48 2002
+++ Zope3/src/zope/proxy/interfaces/context.py Tue Dec 24 21:21:14 2002
@@ -29,7 +29,7 @@
Wrapper data may be passed as keyword arguments. The data are
added to the context dictionary.
"""
-
+
def getobject(obj):
"""
Return the wrapped object. If obj is not a wrapper object, return obj.
@@ -76,7 +76,7 @@
represented as NULL in C API. Raises TypeError if wrapper is not
a wrapper object.
"""
-
+
class IWrapper(Interface):
def __getstate__():
""" Raises AttributeError if called (to prevent pickling) """
@@ -95,7 +95,7 @@
get::
Proxy(Wrapper(o1, parent, name='foo'), c1)
-
+
"""
def getWrapperData(ob):
@@ -113,7 +113,7 @@
def getWrapperContext(ob):
"""Get the object's context, as computed from a context wrapper
"""
-
+
def isWrapper(ob):
"""If the object is wrapped in a context wrapper, returns true,
otherwise returns false.