[Zope3-checkins] CVS: Zope3/src/zope/app/interface - __init__.py:1.3
Nathan Yergler
nathan at yergler.net
Sat Mar 20 17:33:46 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/interface
In directory cvs.zope.org:/tmp/cvs-serv12493/src/zope/app/interface
Modified Files:
__init__.py
Log Message:
Moved doctest import into doctest to fix circular import.
=== Zope3/src/zope/app/interface/__init__.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/interface/__init__.py:1.2 Sat Mar 20 17:10:06 2004
+++ Zope3/src/zope/app/interface/__init__.py Sat Mar 20 17:33:45 2004
@@ -22,7 +22,6 @@
from zodbcode.patch import registerWrapper, Wrapper
from zope.interface.interface import InterfaceClass
from zope.interface import Interface
-from zope.app.content.interfaces import IContentType
class PersistentInterfaceClass(Persistent, InterfaceClass):
@@ -63,6 +62,7 @@
def queryType(object, interface):
"""Returns the object's interface which implements interface.
+ >>> from zope.app.content.interfaces import IContentType
>>> from zope.interface import Interface, implements, directlyProvides
>>> class I(Interface):
... pass
More information about the Zope3-Checkins
mailing list