[Zope3-checkins] CVS: Zope3/src/zope/app/apidoc/ifacemodule - browser.py:1.7

Jim Fulton jim at zope.com
Mon Apr 5 15:44:07 EDT 2004


Update of /cvs-repository/Zope3/src/zope/app/apidoc/ifacemodule
In directory cvs.zope.org:/tmp/cvs-serv13449/src/zope/app/apidoc/ifacemodule

Modified Files:
	browser.py 
Log Message:
Change to use interface __doc__ sttributes rather than getDoc method.


=== Zope3/src/zope/app/apidoc/ifacemodule/browser.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/apidoc/ifacemodule/browser.py:1.6	Mon Mar 29 21:00:59 2004
+++ Zope3/src/zope/app/apidoc/ifacemodule/browser.py	Mon Apr  5 15:44:05 2004
@@ -196,7 +196,7 @@
           >>> details.getDoc()[:34]
           '<h1>This is the Foo interface</h1>'
         """
-        return stx2html(self.context.getDoc())
+        return stx2html(self.context.__doc__)
 
     def getBases(self):
         """Get all bases of this class




More information about the Zope3-Checkins mailing list