[Python-checkins] CVS: python/nondist/peps pep-0285.txt,1.5,1.6

Guido van Rossum gvanrossum@users.sourceforge.net
Sat, 09 Mar 2002 19:36:17 -0800


Update of /cvsroot/python/python/nondist/peps
In directory usw-pr-cvs1:/tmp/cvs-serv26723

Modified Files:
	pep-0285.txt 
Log Message:
Add callable() to the list of functions returning 'bool'.


Index: pep-0285.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0285.txt,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** pep-0285.txt	9 Mar 2002 14:53:04 -0000	1.5
--- pep-0285.txt	10 Mar 2002 03:36:14 -0000	1.6
***************
*** 138,145 ****
      In particular, this affects comparisons (<, <=, ==, !=, >, >=, is,
      is not, in, not it), the unary operator 'not', and built-in
!     functions like hasattr(), isinstance() and issubclass(), the dict
!     method has_key(), string methods endswith(), isalnum(), isalpha(),
!     isdigit(), islower(), isspace(), istitle(), isupper(), and
!     startswith(), and the closed attribute of file objects.
  
      Note that subclassing from int means that True+1 is valid and
--- 138,146 ----
      In particular, this affects comparisons (<, <=, ==, !=, >, >=, is,
      is not, in, not it), the unary operator 'not', and built-in
!     functions like callable(), hasattr(), isinstance() and
!     issubclass(), the dict method has_key(), string methods
!     endswith(), isalnum(), isalpha(), isdigit(), islower(), isspace(),
!     istitle(), isupper(), and startswith(), and the closed attribute
!     of file objects.
  
      Note that subclassing from int means that True+1 is valid and