From a451fa8ee4bee5ebe228fe489e0e71e74be6a9ea Mon Sep 17 00:00:00 2001 From: Rotzbua Date: Wed, 17 Apr 2024 15:12:40 +0200 Subject: [PATCH] chore: migrate typing `Set` now a feature of python as `set` --- extruct/w3cmicrodata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extruct/w3cmicrodata.py b/extruct/w3cmicrodata.py index 7c61c414..9336d6a1 100644 --- a/extruct/w3cmicrodata.py +++ b/extruct/w3cmicrodata.py @@ -74,7 +74,7 @@ def extract(self, htmlstring, base_url=None, encoding="UTF-8"): def extract_items(self, document, base_url): itemids = self._build_itemids(document) - items_seen: Set[Any] = set() + items_seen: set[Any] = set() return [ item for item in (