Back to index

plone3  3.1.7
interface.py
Go to the documentation of this file.
00001 try:
00002     # Zope >= 2.6
00003     from Interface import Interface, Attribute
00004 except ImportError:
00005     # Zope < 2.6
00006     try:
00007         from Interface import Base as Interface, Attribute
00008     except ImportError:
00009         class Interface:
00010             """ """
00011             pass
00012 
00013         class Attribute:
00014             """ """
00015             def __init__(self, doc):
00016                 self.doc = doc