[Python-checkins] python/nondist/peps pep-0303.txt,1.1,1.2

goodger@users.sourceforge.net goodger@users.sourceforge.net
2002年12月31日 08:02:52 -0800


Update of /cvsroot/python/python/nondist/peps
In directory sc8-pr-cvs1:/tmp/cvs-serv30680
Modified Files:
	pep-0303.txt 
Log Message:
spell checked
Index: pep-0303.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0303.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** pep-0303.txt	31 Dec 2002 15:57:18 -0000	1.1
--- pep-0303.txt	31 Dec 2002 16:02:49 -0000	1.2
***************
*** 14,18 ****
 Abstract
 
! This PEP describes an extension to the builtin divmod() function,
 allowing it to take multiple divisors, chaining several calls to
 divmod() into one.
--- 14,18 ----
 Abstract
 
! This PEP describes an extension to the built-in divmod() function,
 allowing it to take multiple divisors, chaining several calls to
 divmod() into one.
***************
*** 21,25 ****
 Specification
 
! The builtin divmod() function would be changed to accept multiple
 divisors, changing its signature from divmod(dividend, divisor) to
 divmod(dividend, *divisors). The dividend is divided by the last
--- 21,25 ----
 Specification
 
! The built-in divmod() function would be changed to accept multiple
 divisors, changing its signature from divmod(dividend, divisor) to
 divmod(dividend, *divisors). The dividend is divided by the last
***************
*** 60,64 ****
 This is tedious and easy to get wrong each time you need it.
 
! If instead the divmod() builtin is changed according the proposal,
 the code for converting seconds to weeks, days, hours, minutes and
 seconds then become
--- 60,64 ----
 This is tedious and easy to get wrong each time you need it.
 
! If instead the divmod() built-in is changed according the proposal,
 the code for converting seconds to weeks, days, hours, minutes and
 seconds then become

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