Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Remove unnecessary comma

Eugenio Lacuesta10ebf6384ed5
diff --git a/scrapy/utils/datatypes.py b/scrapy/utils/datatypes.py
index 1d56811f0..6eeabe1ee 100644
--- a/scrapy/utils/datatypes.py
+++ b/scrapy/utils/datatypes.py
@@ -79,7 +79,7 @@ class CaselessDict(dict):
return dict.pop(self, self.normkey(key), *args)
-class CaseInsensitiveDict(collections.UserDict,):
+class CaseInsensitiveDict(collections.UserDict):
"""A dict-like structure that accepts strings or bytes as keys and allows case-insensitive lookups.
It also allows overriding key and value normalization by defining custom `normkey` and `normvalue` methods.