[Python-checkins] python/dist/src/Doc/tut tut.tex,1.183,1.184

rhettinger@users.sourceforge.net rhettinger@users.sourceforge.net
Wed, 07 May 2003 10:49:39 -0700


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

Modified Files:
	tut.tex 
Log Message:
More message updates and minor fixes.

Index: tut.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/tut/tut.tex,v
retrieving revision 1.183
retrieving revision 1.184
diff -C2 -d -r1.183 -r1.184
*** tut.tex	7 May 2003 17:11:15 -0000	1.183
--- tut.tex	7 May 2003 17:49:36 -0000	1.184
***************
*** 1468,1472 ****
  Traceback (most recent call last):
    File "<stdin>", line 1, in ?
! TypeError: keyword parameter redefined
  \end{verbatim}
  
--- 1468,1472 ----
  Traceback (most recent call last):
    File "<stdin>", line 1, in ?
! TypeError: function() got multiple values for keyword argument 'a'
  \end{verbatim}
  
***************
*** 1876,1882 ****
  >>> [x**3 for x in range(5)]
  [0, 1, 8, 27, 64]
! >>> x
! 4                               # the final value for range(5)
! >>
  \end{verbatim}
  
--- 1876,1881 ----
  >>> [x**3 for x in range(5)]
  [0, 1, 8, 27, 64]
! >>> x                           # the final value for range(5)
! 4
  \end{verbatim}
  
***************
*** 1890,1895 ****
  
  \begin{verbatim}
! >>> a
! [-1, 1, 66.6, 333, 333, 1234.5]
  >>> del a[0]
  >>> a
--- 1889,1893 ----
  
  \begin{verbatim}
! >>> a = [-1, 1, 66.6, 333, 333, 1234.5]
  >>> del a[0]
  >>> a
***************
*** 2037,2041 ****
  ['guido', 'irv', 'jack']
  >>> tel.has_key('guido')
! 1
  \end{verbatim}
  
--- 2035,2039 ----
  ['guido', 'irv', 'jack']
  >>> tel.has_key('guido')
! True
  \end{verbatim}
  
***************
*** 2429,2433 ****
  C> print 'Yuck!'
  Yuck!
! C> 
  \end{verbatim}
  
--- 2427,2432 ----
  C> print 'Yuck!'
  Yuck!
! C>
! 
  \end{verbatim}
  
***************
*** 3136,3140 ****
  Traceback (most recent call last):
    File "<stdin>", line 1, in ?
! ZeroDivisionError: integer division or modulo
  >>> 4 + spam*3
  Traceback (most recent call last):
--- 3135,3139 ----
  Traceback (most recent call last):
    File "<stdin>", line 1, in ?
! ZeroDivisionError: integer division or modulo by zero
  >>> 4 + spam*3
  Traceback (most recent call last):
***************
*** 3144,3148 ****
  Traceback (most recent call last):
    File "<stdin>", line 1, in ?
! TypeError: illegal argument type for built-in operation
  \end{verbatim}
  
--- 3143,3147 ----
  Traceback (most recent call last):
    File "<stdin>", line 1, in ?
! TypeError: cannot concatenate 'str' and 'int' objects
  \end{verbatim}