[Python-checkins] CVS: python/dist/src/Lib/curses ascii.py,1.3,1.4

A.M. Kuchling python-dev@python.org
Tue, 26 Dec 2000 08:08:01 -0800


Update of /cvsroot/python/python/dist/src/Lib/curses
In directory usw-pr-cvs1:/tmp/cvs-serv14257

Modified Files:
	ascii.py 
Log Message:
Make isspace(chr(32)) return true


Index: ascii.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/curses/ascii.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** ascii.py	2000/07/11 10:38:24	1.3
--- ascii.py	2000/12/26 16:07:59	1.4
***************
*** 62,66 ****
  def isprint(c): return _ctoi(c) >= 32 and _ctoi(c) <= 126
  def ispunct(c): return _ctoi(c) != 32 and not isalnum(c)
! def isspace(c): return _ctoi(c) in (12, 10, 13, 9, 11)
  def isupper(c): return _ctoi(c) >= 65 and _ctoi(c) <= 90
  def isxdigit(c): return isdigit(c) or \
--- 62,66 ----
  def isprint(c): return _ctoi(c) >= 32 and _ctoi(c) <= 126
  def ispunct(c): return _ctoi(c) != 32 and not isalnum(c)
! def isspace(c): return _ctoi(c) in (9, 10, 11, 12, 13, 32)
  def isupper(c): return _ctoi(c) >= 65 and _ctoi(c) <= 90
  def isxdigit(c): return isdigit(c) or \