[Python-checkins] r71443 - python/trunk/Lib/pydoc.py

georg.brandl python-checkins at python.org
Fri Apr 10 10:20:23 CEST 2009


Author: georg.brandl
Date: Fri Apr 10 10:20:23 2009
New Revision: 71443

Log:
#5698: Fix casing of !DOCTYPE to conform to W3C specs.

Modified:
   python/trunk/Lib/pydoc.py

Modified: python/trunk/Lib/pydoc.py
==============================================================================
--- python/trunk/Lib/pydoc.py	(original)
+++ python/trunk/Lib/pydoc.py	Fri Apr 10 10:20:23 2009
@@ -422,7 +422,7 @@
     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


More information about the Python-checkins mailing list