[Python-checkins] CVS: python/dist/src/Lib/plat-riscos riscospath.py,1.3,1.4

Fred L. Drake fdrake@users.sourceforge.net
2001年7月20日 11:54:46 -0700


Update of /cvsroot/python/python/dist/src/Lib/plat-riscos
In directory usw-pr-cvs1:/tmp/cvs-serv30933/Lib/plat-riscos
Modified Files:
	riscospath.py 
Log Message:
Use string.ascii_letters instead of string.letters (SF bug #226706).
Index: riscospath.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-riscos/riscospath.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** riscospath.py	2001年07月02日 04:59:35	1.3
--- riscospath.py	2001年07月20日 18:54:44	1.4
***************
*** 63,67 ****
 else:
 for c in p[dash:s]:
! if c not in string.letters:
 q= 0
 break # disallow invalid non-special-field characters in FS name
--- 63,67 ----
 else:
 for c in p[dash:s]:
! if c not in string.ascii_letters:
 q= 0
 break # disallow invalid non-special-field characters in FS name

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