summaryrefslogtreecommitdiff
path: root/Lib/calendar.py
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2007-08-28 16:38:26 +0000
committerWalter Dörwald <walter@livinglogic.de>2007-08-28 16:38:26 +0000
commitf0d1c1f3ec824f908b5e36586c12925a26d6d97b (patch)
tree1c5cfce4aac147d3c355c5dfb94c909030023229 /Lib/calendar.py
parent3ccec68a05abae43cf74dc7821c61ba88ab6cb46 (diff)
downloadcpython-git-f0d1c1f3ec824f908b5e36586c12925a26d6d97b.tar.gz
Fix title endtag in HTMLCalender.formatyearpage(). Fix documentation for
HTMLCalender.formatyearpage() (there's no themonth parameter). This fixes issue1046.
Diffstat (limited to 'Lib/calendar.py')
-rw-r--r--Lib/calendar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/calendar.py b/Lib/calendar.py
index a5e15971d3..84fabc75c7 100644
--- a/Lib/calendar.py
+++ b/Lib/calendar.py
@@ -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))