-
`=c       s   d  Z  d f  d     YZ d S(   s  ZODB undo support for Zope.

This package is used to support the Prefix object that Zope uses for
undo.  It is a separate package only to aid configuration management.
This package is included in Zope and ZODB3, so that ZODB3 is suitable
for running a ZEO server that handles Zope undo.
s   Prefixc      s&   t  Z d  Z d Z d   Z d   Z RS(   s  A Prefix() is equal to any string it as a prefix of.

    This class can be compared to a string (or arbitrary sequence).
    The comparison will return True if the prefix value is a prefix of
    the string being compared.

    Two prefixes can not be compared.
    i   c    s   t  |  | f |  _ d  S(   N(   s   lens   paths   selfs   value(   s   selfs   path(    (    s7   /usr/pkg/lib/python2.2/site-packages/ZopeUndo/Prefix.pys   __init__" s    c    s*   |  i \ } } t | |  |  } | Sd  S(   N(   s   selfs   values   ls   vs   cmps   os   rval(   s   selfs   os   vs   rvals   l(    (    s7   /usr/pkg/lib/python2.2/site-packages/ZopeUndo/Prefix.pys   __cmp__% s    (   s   __name__s
   __module__s   __doc__s   __no_side_effects__s   __init__s   __cmp__(    (    (    s7   /usr/pkg/lib/python2.2/site-packages/ZopeUndo/Prefix.pys   Prefix s    	N(   s   __doc__s   Prefix(   s   Prefix(    (    s7   /usr/pkg/lib/python2.2/site-packages/ZopeUndo/Prefix.pys   ? s   