Skip to content

Commit

Permalink
chore: remove python 2 import (#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rotzbua authored Apr 17, 2024
1 parent f7838bb commit 5ef63e6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions extruct/w3cmicrodata.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,7 @@
import collections
from functools import partial
from typing import Any, Set

try:
from urlparse import urljoin
except ImportError:
from urllib.parse import urljoin
from urllib.parse import urljoin

import html_text
import lxml.etree
Expand Down

0 comments on commit 5ef63e6

Please sign in to comment.