[Python-checkins] CVS: python/dist/src/Misc NEWS,1.337.2.4.2.18,1.337.2.4.2.19

Guido van Rossum gvanrossum@users.sourceforge.net
2002年4月08日 06:31:15 -0700


Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv434
Modified Files:
 Tag: release22-maint
	NEWS 
Log Message:
Add bool(), True, False (as ints) for backwards compatibility.
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.337.2.4.2.18
retrieving revision 1.337.2.4.2.19
diff -C2 -d -r1.337.2.4.2.18 -r1.337.2.4.2.19
*** NEWS	8 Apr 2002 01:39:56 -0000	1.337.2.4.2.18
--- NEWS	8 Apr 2002 13:31:12 -0000	1.337.2.4.2.19
***************
*** 3,7 ****
 =================================
 
! Core
 
 - Fixed super() to work correctly with class methods. [SF bug #535444]
--- 3,11 ----
 =================================
 
! Core and builtins
! 
! - Added new builtin function bool() and new builtin constants True and
! False to ease backporting of code developed for Python 2.3. In 2.2,
! bool() returns 1 or 0, True == 1, and False == 0.
 
 - Fixed super() to work correctly with class methods. [SF bug #535444]

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