[Python-checkins] python/dist/src/Lib timeit.py,1.9,1.10

montanaro@users.sourceforge.net montanaro@users.sourceforge.net
2003年4月08日 12:40:22 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1:/tmp/cvs-serv27424
Modified Files:
	timeit.py 
Log Message:
correct a couple docstring nits
Index: timeit.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/timeit.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** timeit.py	21 Mar 2003 14:54:19 -0000	1.9
--- timeit.py	8 Apr 2003 19:40:19 -0000	1.10
***************
*** 158,166 ****
 
 def repeat(self, repeat=default_repeat, number=default_number):
! """Call timer() a few times.
 
! This is a convenience function that calls the timer()
 repeatedly, returning a list of results. The first argument
! specifies how many times to call timer(), defaulting to 3;
 the second argument specifies the timer argument, defaulting
 to one million.
--- 158,166 ----
 
 def repeat(self, repeat=default_repeat, number=default_number):
! """Call timeit() a few times.
 
! This is a convenience function that calls the timeit()
 repeatedly, returning a list of results. The first argument
! specifies how many times to call timeit(), defaulting to 3;
 the second argument specifies the timer argument, defaulting
 to one million.

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