[Python-checkins] python/dist/src/Doc/tut tut.tex,1.216,1.217

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Fri Dec 5 01:39:56 EST 2003


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

Modified Files:
	tut.tex 
Log Message:
Fix typo

Index: tut.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/tut/tut.tex,v
retrieving revision 1.216
retrieving revision 1.217
diff -C2 -d -r1.216 -r1.217
*** tut.tex	3 Dec 2003 22:33:13 -0000	1.216
--- tut.tex	5 Dec 2003 06:39:54 -0000	1.217
***************
*** 4455,4459 ****
  \begin{verbatim}
  >>> import sys
! >>> print sys.argv[]
  ['demo.py', 'one', 'two', 'three']
  \end{verbatim}
--- 4455,4459 ----
  \begin{verbatim}
  >>> import sys
! >>> print sys.argv
  ['demo.py', 'one', 'two', 'three']
  \end{verbatim}
***************
*** 4501,4505 ****
  \section{Mathematics\label{mathematics}}
  
! The \ulink{\module{math}}{../lib/module-math.html} math module gives
  access to the underlying C library functions for floating point math:
  
--- 4501,4505 ----
  \section{Mathematics\label{mathematics}}
  
! The \ulink{\module{math}}{../lib/module-math.html} module gives
  access to the underlying C library functions for floating point math:
  
***************
*** 4619,4625 ****
  >>> from timeit import Timer
  >>> dir(Timer)
! >>> Timer('t=a; a=b; b=t', 'a=1; b=1').timeit()
  0.60864915603680925
! >>> Timer('a,b = b,a', 'a=1; b=1').timeit()
  0.8625194857439773
  \end{verbatim}
--- 4619,4625 ----
  >>> from timeit import Timer
  >>> dir(Timer)
! >>> Timer('t=a; a=b; b=t', 'a=1; b=2').timeit()
  0.60864915603680925
! >>> Timer('a,b = b,a', 'a=1; b=2').timeit()
  0.8625194857439773
  \end{verbatim}





More information about the Python-checkins mailing list