Scrapy, a fast high-level web crawling & scraping framework for Python.
Remove unnecessary backwards compatibility comments (#5732)
Hanzallah Burneyb6e98ce6b6c7
diff --git a/scrapy/utils/conf.py b/scrapy/utils/conf.pyindex 6404edda6..7a5f8f065 100644--- a/scrapy/utils/conf.py+++ b/scrapy/utils/conf.py@@ -44,14 +44,12 @@ def build_component_list(compdict, custom=None, convert=update_classpath):raise ValueError(f'Invalid value {value} for component {name}, ''please provide a real number or None instead')- # BEGIN Backward compatibility for old (base, custom) call signatureif isinstance(custom, (list, tuple)):_check_components(custom)return type(custom)(convert(c) for c in custom)if custom is not None:compdict.update(custom)- # END Backward compatibility_validate_values(compdict)compdict = without_none_values(_map_keys(compdict))