[Zope3-checkins] CVS: Zope3/doc - DEBUG.txt:1.7

Philipp von Weitershausen philikon at philikon.de
Mon Jan 5 02:54:45 EST 2004


Update of /cvs-repository/Zope3/doc
In directory cvs.zope.org:/tmp/cvs-serv31770

Modified Files:
	DEBUG.txt 
Log Message:
Python 2.3; correct python prompt.


=== Zope3/doc/DEBUG.txt 1.6 => 1.7 ===
--- Zope3/doc/DEBUG.txt:1.6	Mon Jul 14 09:31:16 2003
+++ Zope3/doc/DEBUG.txt	Mon Jan  5 02:54:43 2004
@@ -17,9 +17,9 @@
     To start interacting with the debugger you need to initialize the
     zope application::
 
-      python2.2
-      >> from zope.app import Application
-      >> app = Application('path/to/zodb/', 'path/to/site.zcml')
+      $ python2.3
+      >>> from zope.app import Application
+      >>> app = Application('path/to/zodb/', 'path/to/site.zcml')
             
   Using the Debugger
 
@@ -31,7 +31,7 @@
       The 'publish' method executes a request as the publisher would
       and prints the response headers and body::
 
-         >> app.publish(path='/folder/content_object')
+         >>> app.publish(path='/folder/content_object')
 
     Run
 
@@ -39,9 +39,9 @@
       error handling disabled and without outputting anything.  This is
       useful for use with Python's post-mortem.
 
-         >> app.run(path='/folder/content_object')
+         >>> app.run(path='/folder/content_object')
          # an exception is raised
-         >> import pdb; pdb.pm()
+         >>> import pdb; pdb.pm()
          # enters the python post-mortem debugger
 
     Debug
@@ -50,7 +50,7 @@
       debugger, with an extra convenience break point, setup just before
       the published object call::
 
-        >> app.debug(path='/folder/content_object')
+        >>> app.debug(path='/folder/content_object')
         * Type c<cr> to jump to published object call.
         pdb> 
       




More information about the Zope3-Checkins mailing list