[Zodb-checkins] CVS: Zope3/src/zope/interface/common -
interfaces.py:1.2.12.1
Jim Fulton
jim at zope.com
Fri Apr 18 23:46:51 EDT 2003
Update of /cvs-repository/Zope3/src/zope/interface/common
In directory cvs.zope.org:/tmp/cvs-serv13310/src/zope/interface/common
Modified Files:
Tag: interfacegeddon-branch
interfaces.py
Log Message:
committing work in progress to interfacegeddon branch.
=== Zope3/src/zope/interface/common/interfaces.py 1.2 => 1.2.12.1 ===
--- Zope3/src/zope/interface/common/interfaces.py:1.2 Tue Feb 11 11:00:07 2003
+++ Zope3/src/zope/interface/common/interfaces.py Fri Apr 18 22:46:20 2003
@@ -16,7 +16,7 @@
$Id$
"""
from zope.interface import Interface
-from zope.interface.implements import implements
+from zope.interface import classImplements
class IException(Interface): pass
class IStandardError(IException): pass
@@ -57,43 +57,43 @@
class IUserWarning(IWarning): pass
class IZeroDivisionError(IArithmeticError): pass
-implements(ArithmeticError, IArithmeticError)
-implements(ArithmeticError, IArithmeticError)
-implements(AssertionError, IAssertionError)
-implements(AttributeError, IAttributeError)
-implements(DeprecationWarning, IDeprecationWarning)
-implements(EOFError, IEOFError)
-implements(EnvironmentError, IEnvironmentError)
-implements(Exception, IException)
-implements(FloatingPointError, IFloatingPointError)
-implements(IOError, IIOError)
-implements(ImportError, IImportError)
-implements(IndentationError, IIndentationError)
-implements(IndexError, IIndexError)
-implements(KeyError, IKeyError)
-implements(KeyboardInterrupt, IKeyboardInterrupt)
-implements(LookupError, ILookupError)
-implements(MemoryError, IMemoryError)
-implements(NameError, INameError)
-implements(NotImplementedError, INotImplementedError)
-implements(OSError, IOSError)
-implements(OverflowError, IOverflowError)
-implements(OverflowWarning, IOverflowWarning)
-implements(ReferenceError, IReferenceError)
-implements(RuntimeError, IRuntimeError)
-implements(RuntimeWarning, IRuntimeWarning)
-implements(StandardError, IStandardError)
-implements(StopIteration, IStopIteration)
-implements(SyntaxError, ISyntaxError)
-implements(SyntaxWarning, ISyntaxWarning)
-implements(SystemError, ISystemError)
-implements(SystemExit, ISystemExit)
-implements(TabError, ITabError)
-implements(TypeError, ITypeError)
-implements(UnboundLocalError, IUnboundLocalError)
-implements(UnicodeError, IUnicodeError)
-implements(UserWarning, IUserWarning)
-implements(ValueError, IValueError)
-implements(Warning, IWarning)
-implements(ZeroDivisionError, IZeroDivisionError)
+classImplements(ArithmeticError, IArithmeticError)
+classImplements(ArithmeticError, IArithmeticError)
+classImplements(AssertionError, IAssertionError)
+classImplements(AttributeError, IAttributeError)
+classImplements(DeprecationWarning, IDeprecationWarning)
+classImplements(EOFError, IEOFError)
+classImplements(EnvironmentError, IEnvironmentError)
+classImplements(Exception, IException)
+classImplements(FloatingPointError, IFloatingPointError)
+classImplements(IOError, IIOError)
+classImplements(ImportError, IImportError)
+classImplements(IndentationError, IIndentationError)
+classImplements(IndexError, IIndexError)
+classImplements(KeyError, IKeyError)
+classImplements(KeyboardInterrupt, IKeyboardInterrupt)
+classImplements(LookupError, ILookupError)
+classImplements(MemoryError, IMemoryError)
+classImplements(NameError, INameError)
+classImplements(NotImplementedError, INotImplementedError)
+classImplements(OSError, IOSError)
+classImplements(OverflowError, IOverflowError)
+classImplements(OverflowWarning, IOverflowWarning)
+classImplements(ReferenceError, IReferenceError)
+classImplements(RuntimeError, IRuntimeError)
+classImplements(RuntimeWarning, IRuntimeWarning)
+classImplements(StandardError, IStandardError)
+classImplements(StopIteration, IStopIteration)
+classImplements(SyntaxError, ISyntaxError)
+classImplements(SyntaxWarning, ISyntaxWarning)
+classImplements(SystemError, ISystemError)
+classImplements(SystemExit, ISystemExit)
+classImplements(TabError, ITabError)
+classImplements(TypeError, ITypeError)
+classImplements(UnboundLocalError, IUnboundLocalError)
+classImplements(UnicodeError, IUnicodeError)
+classImplements(UserWarning, IUserWarning)
+classImplements(ValueError, IValueError)
+classImplements(Warning, IWarning)
+classImplements(ZeroDivisionError, IZeroDivisionError)
More information about the Zodb-checkins
mailing list