[Python-checkins] python/dist/src/Lib _strptime.py,1.33,1.34

bcannon at users.sourceforge.net bcannon at users.sourceforge.net
Wed Oct 6 04:23:16 CEST 2004


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18051/Lib
Modified Files:
	_strptime.py 
Log Message:
Convert a listcomp to a gencomp (was already editing code).
Index: _strptime.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/_strptime.py,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- _strptime.py	6 Oct 2004 02:11:36 -0000	1.33
+++ _strptime.py	6 Oct 2004 02:23:14 -0000	1.34
@@ -208,8 +208,8 @@
 'B': self.__seqToRE(self.locale_time.f_month[1:], 'B'),
 'b': self.__seqToRE(self.locale_time.a_month[1:], 'b'),
 'p': self.__seqToRE(self.locale_time.am_pm, 'p'),
- 'Z': self.__seqToRE([tz for tz_names in self.locale_time.timezone
- for tz in tz_names],
+ 'Z': self.__seqToRE((tz for tz_names in self.locale_time.timezone
+ for tz in tz_names),
 'Z'),
 '%': '%'})
 base.__setitem__('W', base.__getitem__('U'))


More information about the Python-checkins mailing list

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