]> granicus.if.org Git - python/commitdiff
#5698: Fix casing of !DOCTYPE to conform to W3C specs.
authorGeorg Brandl <georg@python.org>
Fri, 10 Apr 2009 08:20:23 +0000 (08:20 +0000)
committerGeorg Brandl <georg@python.org>
Fri, 10 Apr 2009 08:20:23 +0000 (08:20 +0000)
Lib/pydoc.py

index dda0208edf7f89f084913b7ee5809ed50a265020..3afb9814d250a3b76c177b7f4ea256da268c94be 100755 (executable)
@@ -422,7 +422,7 @@ class HTMLDoc(Doc):
     def page(self, title, contents):
         """Format an HTML page."""
         return '''
-<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 <html><head><title>Python: %s</title>
 </head><body bgcolor="#f0f0f8">
 %s