[Zope3-checkins] CVS: Zope3/src/zope/app/apidoc/utilitymodule - browser.py:1.3

Stephan Richter srichter at cosmos.phy.tufts.edu
Mon Mar 29 21:01:49 EST 2004


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

Modified Files:
	browser.py 
Log Message:


Make use of the new zope.app.apidoc.tests.pprint function.




=== Zope3/src/zope/app/apidoc/utilitymodule/browser.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/apidoc/utilitymodule/browser.py:1.2	Sun Mar 28 18:41:23 2004
+++ Zope3/src/zope/app/apidoc/utilitymodule/browser.py	Mon Mar 29 21:01:17 2004
@@ -74,7 +74,7 @@
         Examples::
 
           >>> from zope.app.apidoc.utilitymodule import Utility
-          >>> from zope.app.apidoc.tests import pprintDict
+          >>> from zope.app.apidoc.tests import pprint
 
           >>> class Foo(object):
           ...     pass
@@ -84,12 +84,12 @@
 
           >>> details = UtilityDetails()
           >>> details.context = Utility(None, '', None, Foo())
-          >>> pprintDict(details.getComponent())
+          >>> pprint(details.getComponent())
           [('path', 'zope.app.apidoc.utilitymodule.browser.Foo'),
            ('url', 'zope/app/apidoc/utilitymodule/browser/Foo')]
 
           >>> details.context = Utility(None, '', None, Bar())
-          >>> pprintDict(details.getComponent())
+          >>> pprint(details.getComponent())
           [('path', 'zope.app.apidoc.utilitymodule.browser.Bar'),
            ('url', 'zope/app/apidoc/utilitymodule/browser/Bar')]
         """




More information about the Zope3-Checkins mailing list