Skip to content

Commit

Permalink
I don't know how that happened!
Browse files Browse the repository at this point in the history
  • Loading branch information
D4Vinci committed Nov 2, 2024
1 parent 088334b commit 78c718c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scrapling/_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
)

try:
from scrapling._types import Protocol
from typing import Protocol
except ImportError:
# Added in Python 3.8
Protocol = object

try:
from scrapling._types import SupportsIndex
from typing import SupportsIndex
except ImportError:
# 'SupportsIndex' got added in Python 3.8
SupportsIndex = None
Expand Down

0 comments on commit 78c718c

Please sign in to comment.