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

Moshe Zadka moshez@users.sourceforge.net
Sat, 31 Mar 2001 02:06:20 -0800


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

Modified Files:
      Tag: release20-maint
	ascii.py 
Log Message:
curses.ascii - space (ASCII 32) is now considered whitespace


Index: ascii.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/curses/ascii.py,v
retrieving revision 1.3
retrieving revision 1.3.4.1
diff -C2 -r1.3 -r1.3.4.1
*** ascii.py	2000/07/11 10:38:24	1.3
--- ascii.py	2001/03/31 10:06:18	1.3.4.1
***************
*** 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 \