[Python-checkins] CVS: python/dist/src/Lib types.py,1.24,1.25
Martin v. L?wis
loewis@users.sourceforge.net
Sun, 02 Dec 2001 04:08:08 -0800
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv29198
Modified Files:
types.py
Log Message:
Patch #487455: make types.StringTypes a tuple.
Index: types.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/types.py,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** types.py 2001/10/29 22:25:44 1.24
--- types.py 2001/12/02 12:08:06 1.25
***************
*** 27,33 ****
try:
UnicodeType = unicode
! StringTypes = [StringType, UnicodeType]
except NameError:
! StringTypes = [StringType]
BufferType = type(buffer(''))
--- 27,33 ----
try:
UnicodeType = unicode
! StringTypes = (StringType, UnicodeType)
except NameError:
! StringTypes = (StringType,)
BufferType = type(buffer(''))