[Python-checkins] python/dist/src/Doc/tut tut.tex, 1.196.8.10, 1.196.8.11

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Fri Dec 5 01:38:09 EST 2003


Update of /cvsroot/python/python/dist/src/Doc/tut
In directory sc8-pr-cvs1:/tmp/cvs-serv15621
Modified Files:
 Tag: release23-maint
	tut.tex 
Log Message:
Fix typo
Index: tut.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/tut/tut.tex,v
retrieving revision 1.196.8.10
retrieving revision 1.196.8.11
diff -C2 -d -r1.196.8.10 -r1.196.8.11
*** tut.tex	4 Dec 2003 21:30:04 -0000	1.196.8.10
--- tut.tex	5 Dec 2003 06:38:06 -0000	1.196.8.11
***************
*** 4396,4400 ****
 \begin{verbatim}
 >>> import sys
! >>> print sys.argv[]
 ['demo.py', 'one', 'two', 'three']
 \end{verbatim}
--- 4396,4400 ----
 \begin{verbatim}
 >>> import sys
! >>> print sys.argv
 ['demo.py', 'one', 'two', 'three']
 \end{verbatim}
***************
*** 4442,4446 ****
 \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:
 
--- 4442,4446 ----
 \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:
 
***************
*** 4560,4566 ****
 >>> 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}
--- 4560,4566 ----
 >>> 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

AltStyle によって変換されたページ (->オリジナル) /