Convert a listcomp to a gencomp (was already editing code).

This commit is contained in:
Brett Cannon 2004-10-06 02:23:14 +00:00
parent 4f35c71543
commit f7948c25a2
1 changed files with 2 additions and 2 deletions

View File

@ -208,8 +208,8 @@ class TimeRE(dict):
'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'))