summaryrefslogtreecommitdiffstats
path: root/Lib/html/parser.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/html/parser.py')
-rw-r--r--Lib/html/parser.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/Lib/html/parser.py b/Lib/html/parser.py
index de81879..6083077 100644
--- a/Lib/html/parser.py
+++ b/Lib/html/parser.py
@@ -9,7 +9,6 @@
import re
-import warnings
import _markupbase
from html import unescape
@@ -461,10 +460,3 @@ class HTMLParser(_markupbase.ParserBase):
def unknown_decl(self, data):
pass
-
- # Internal -- helper to remove special character quoting
- def unescape(self, s):
- warnings.warn('The unescape method is deprecated and will be removed '
- 'in 3.5, use html.unescape() instead.',
- DeprecationWarning, stacklevel=2)
- return unescape(s)