From a4e2d4fcf15e5973df1f0035a94b086b72b55443 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Araujo?= Date: Mon, 2 May 2011 22:59:15 +0200 Subject: [PATCH 1/2] Add missing name in pkgutil.__all__ --- Lib/pkgutil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/pkgutil.py b/Lib/pkgutil.py index 0ec6ec52654..e2d630ab2bf 100644 --- a/Lib/pkgutil.py +++ b/Lib/pkgutil.py @@ -8,7 +8,7 @@ from types import ModuleType __all__ = [ 'get_importer', 'iter_importers', 'get_loader', 'find_loader', - 'walk_packages', 'iter_modules', + 'walk_packages', 'iter_modules', 'get_data', 'ImpImporter', 'ImpLoader', 'read_code', 'extend_path', ] From 39f180bb1f5407b89ed40c840fe0356566995da4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Araujo?= Date: Wed, 4 May 2011 15:55:47 +0200 Subject: [PATCH 2/2] Fix display of html.parser.HTMLParser.feed docstring --- Lib/html/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/html/parser.py b/Lib/html/parser.py index 3f68e189c4c..bef5c3cc9af 100644 --- a/Lib/html/parser.py +++ b/Lib/html/parser.py @@ -99,7 +99,7 @@ class HTMLParser(_markupbase.ParserBase): _markupbase.ParserBase.reset(self) def feed(self, data): - """Feed data to the parser. + r"""Feed data to the parser. Call this as often as you want, with as little or as much text as you want (may include '\n').