I don't know how that happened!
This commit is contained in:
+2
-2
@@ -7,13 +7,13 @@ from typing import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from scrapling._types import Protocol
|
from typing import Protocol
|
||||||
except ImportError:
|
except ImportError:
|
||||||
# Added in Python 3.8
|
# Added in Python 3.8
|
||||||
Protocol = object
|
Protocol = object
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from scrapling._types import SupportsIndex
|
from typing import SupportsIndex
|
||||||
except ImportError:
|
except ImportError:
|
||||||
# 'SupportsIndex' got added in Python 3.8
|
# 'SupportsIndex' got added in Python 3.8
|
||||||
SupportsIndex = None
|
SupportsIndex = None
|
||||||
|
|||||||
Reference in New Issue
Block a user