mirror of
https://github.com/python/cpython.git
synced 2025-08-02 08:02:56 +00:00
Fix title endtag in HTMLCalender.formatyearpage(). Fix documentation for
HTMLCalender.formatyearpage() (there's no themonth parameter). This fixes issue1046.
This commit is contained in:
parent
3ccec68a05
commit
f0d1c1f3ec
2 changed files with 2 additions and 2 deletions
|
@ -471,7 +471,7 @@ class HTMLCalendar(Calendar):
|
|||
a('<meta http-equiv="Content-Type" content="text/html; charset=%s" />\n' % encoding)
|
||||
if css is not None:
|
||||
a('<link rel="stylesheet" type="text/css" href="%s" />\n' % css)
|
||||
a('<title>Calendar for %d</title\n' % theyear)
|
||||
a('<title>Calendar for %d</title>\n' % theyear)
|
||||
a('</head>\n')
|
||||
a('<body>\n')
|
||||
a(self.formatyear(theyear, width))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue