[Zope-Checkins] CVS: Zope3/lib/python/Zope/ContextWrapper - IWrapper.py:1.3
Steve Alexander
steve@cat-box.net
Sat, 15 Jun 2002 16:38:19 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/ContextWrapper
In directory cvs.zope.org:/tmp/cvs-serv22871/lib/python/Zope/ContextWrapper
Modified Files:
IWrapper.py
Log Message:
Added a set of convenience functions that you can import from
Zope.App.Traversing.
Fixed a few typos in the ContextWrapper docstrings, and also added
an isWrapper method to Zope/Proxy/IContextWrapper, mainly so that
I can raise nice errors if the convenience functions are passed
an unwrapped object, rather than returning objs or Nones or []s and
having programs fail at tenuously related other places.
=== Zope3/lib/python/Zope/ContextWrapper/IWrapper.py 1.2 => 1.3 ===
class IWrapper(Interface.Base):
def __getstate__():
- """ Raises AttributeError if called (to prevent pickling """
+ """ Raises AttributeError if called (to prevent pickling) """