]> granicus.if.org Git - python/commitdiff
Revert "Fixed a typo in the HTMLParser.feed docstrings" (#1771)
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 24 May 2017 04:20:45 +0000 (07:20 +0300)
committerGitHub <noreply@github.com>
Wed, 24 May 2017 04:20:45 +0000 (07:20 +0300)
* Revert "Fixed a typo in the HTMLParser.feed docstrings. The docstring started with an 'r', like a The docstring was correct. I read the patch in opposite direction, as *adding* the "r" prefix.
This reverts commit 5ba185039f1bd465d3f82531324fd3fe1ee42f0c.

Lib/html/parser.py

index 9597948339a53f30692e0d63e879a58d734e954c..ef869bc72db780056ada375a5316aec83b1c6ad8 100644 (file)
@@ -102,7 +102,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').