Index: Misc/NEWS =================================================================== --- Misc/NEWS (Revision 71240) +++ Misc/NEWS (Arbeitskopie) @@ -209,6 +209,8 @@ - Py_DECREF: Add `do { ... } while (0)' to avoid compiler warnings. +- Let html pages generated by `pydoc -w' pass the w3 validator. + Library ------- Index: Lib/pydoc.py =================================================================== --- Lib/pydoc.py (Revision 71240) +++ Lib/pydoc.py (Arbeitskopie) @@ -422,8 +422,9 @@ def page(self, title, contents): """Format an HTML page.""" return ''' - -Python: %s + + +Python: %s %s ''' % (title, contents)