[Python-checkins] python/dist/src/Doc/tut tut.tex,1.195,1.196

rhettinger@users.sourceforge.net rhettinger@users.sourceforge.net
Tue, 15 Jul 2003 16:16:03 -0700


Update of /cvsroot/python/python/dist/src/Doc/tut
In directory sc8-pr-cvs1:/tmp/cvs-serv29482/tut

Modified Files:
	tut.tex 
Log Message:
Nits.

Index: tut.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/tut/tut.tex,v
retrieving revision 1.195
retrieving revision 1.196
diff -C2 -d -r1.195 -r1.196
*** tut.tex	12 Jul 2003 01:05:37 -0000	1.195
--- tut.tex	15 Jul 2003 23:16:01 -0000	1.196
***************
*** 3331,3335 ****
  ... except Exception, inst:
  ...    print type(inst)     # the exception instance
! ...    print inst.args	    # arguments stored in .args
  ...    print inst           # __str__ allows args to printed directly
  ...    x, y = inst          # __getitem__ allows args to be unpacked directly
--- 3331,3335 ----
  ... except Exception, inst:
  ...    print type(inst)     # the exception instance
! ...    print inst.args      # arguments stored in .args
  ...    print inst           # __str__ allows args to printed directly
  ...    x, y = inst          # __getitem__ allows args to be unpacked directly
***************
*** 4300,4304 ****
  created automatically.
  
! Another other key feature is that the local variables and execution state
  are automatically saved between calls.  This made the function easier to write
  and much more clear than an approach using class variables like
--- 4300,4304 ----
  created automatically.
  
! Another key feature is that the local variables and execution state
  are automatically saved between calls.  This made the function easier to write
  and much more clear than an approach using class variables like