summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonard Richardson <leonard.richardson@canonical.com>2012-04-18 13:19:18 -0400
committerLeonard Richardson <leonard.richardson@canonical.com>2012-04-18 13:19:18 -0400
commitce805a11981bf58b7b005b81f56a80ea1a1bb8f9 (patch)
treedb55c146c785d4efa9400c4d00e9e378e453f4ad
parent622fead3fef2d870a85d570c5416166076b8c8c4 (diff)
Changed wording slightly.
-rw-r--r--bs4/builder/_htmlparser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bs4/builder/_htmlparser.py b/bs4/builder/_htmlparser.py
index d5d8681..ede5cec 100644
--- a/bs4/builder/_htmlparser.py
+++ b/bs4/builder/_htmlparser.py
@@ -146,7 +146,7 @@ class HTMLParserTreeBuilder(HTMLTreeBuilder):
parser.feed(markup)
except HTMLParseError, e:
warnings.warn(RuntimeWarning(
- "Python's built-in HTMLParser cannot parse this document. This is not a bug in Beautiful Soup. The best solution is to install an external parser (lxml or html5lib), and use Beautiful Soup with that parser. See http://www.crummy.com/software/BeautifulSoup/bs4/doc/#installing-a-parser for help."))
+ "Python's built-in HTMLParser cannot parse the given document. This is not a bug in Beautiful Soup. The best solution is to install an external parser (lxml or html5lib), and use Beautiful Soup with that parser. See http://www.crummy.com/software/BeautifulSoup/bs4/doc/#installing-a-parser for help."))
raise e
# Patch 3.2 versions of HTMLParser earlier than 3.2.3 to use some