Scrapy, a fast high-level web crawling & scraping framework for Python.
Remove FixedSGMLParser: it is both useless and unused.
Mikhail Korobov19228c6584f7
diff --git a/scrapy/utils/python.py b/scrapy/utils/python.pyindex 8c186fa8a..7b09b6afe 100644--- a/scrapy/utils/python.py+++ b/scrapy/utils/python.py@@ -10,29 +10,8 @@ import reimport inspectimport weakrefimport errno-import warningsfrom functools import partial, wraps-import six--from scrapy.exceptions import ScrapyDeprecationWarning---if six.PY2:- from sgmllib import SGMLParser-- class FixedSGMLParser(SGMLParser):- """- Warning: this class is deprecated and will be removed in future- releases. Please use standard `sgmllib.SGMLParser`.- """- def __init__(self, *args, **kwargs):- warnings.warn(- "FixedSGMLParser is deprecated and will be removed in future releases.",- ScrapyDeprecationWarning- )- SGMLParser.__init__(self, *args, **kwargs)-def flatten(x):"""flatten(sequence) -> list