These must be tuples + hack mypy warnings away.
This commit is contained in:
parent
6bedec97ae
commit
f928ad22be
|
@ -7,9 +7,9 @@ from multidict import CIMultiDict # type: ignore
|
||||||
try:
|
try:
|
||||||
from trio import Cancelled # type: ignore
|
from trio import Cancelled # type: ignore
|
||||||
|
|
||||||
CancelledErrors = [CancelledError, Cancelled]
|
CancelledErrors = tuple([CancelledError, Cancelled])
|
||||||
except ImportError:
|
except ImportError:
|
||||||
CancelledErrors = [CancelledError]
|
CancelledErrors = tuple([CancelledError])
|
||||||
|
|
||||||
|
|
||||||
class Header(CIMultiDict):
|
class Header(CIMultiDict):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user