Issue 1046: HTMLCalendar.formatyearpage not behaving as documented (original) (raw)

The function HTMLCalendar.formatyearpage in module calendar takes at most 5 arguments (year, month, css, encoding) whereas documentation (http://docs.python.org/lib/module-calendar.html) says it takes at most 6 (theyear, themonth[, width[, css[, encoding]]]).

Also, the title tag in the head of the produced document with (year, month, css) as arguments isn't properly closed ; the line is

Calendar for 2008Calendar for 2008

This happend with linux (debian sid), with Python 2.5.1

Note: I haven't tested if the encoding did what it should

Joined files :