Skip to content

Commit

Permalink
chore: migrate typing
Browse files Browse the repository at this point in the history
`Set` now a feature of python as `set`
  • Loading branch information
Rotzbua committed Apr 17, 2024
1 parent 123ebd2 commit a451fa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extruct/w3cmicrodata.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit a451fa8

Please sign in to comment.