(future=0, weekdayname=_weekdayname, monthname=_monthname)
| 244 | 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'] |
| 245 | |
| 246 | def _getdate(future=0, weekdayname=_weekdayname, monthname=_monthname): |
| 247 | from time import gmtime, time |
| 248 | now = time() |
| 249 | year, month, day, hh, mm, ss, wd, y, z = gmtime(now + future) |
| 250 | return "%s, %02d %3s %4d %02d:%02d:%02d GMT" % \ |
| 251 | (weekdayname[wd], day, monthname[month], year, hh, mm, ss) |
| 252 | |
| 253 | |
| 254 | class Morsel(dict): |