Update typing.py

This commit is contained in:
H Lohaus 2025-08-09 14:12:48 +02:00 committed by GitHub
parent ddb5d5b5c4
commit 0c69ba8fc3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,9 +15,9 @@ from typing import (
Type, Type,
IO, IO,
Optional, Optional,
TypedDict,
TYPE_CHECKING, TYPE_CHECKING,
) )
from typing_extensions import TypedDict
# Only import PIL for type-checkers; no runtime dependency required. # Only import PIL for type-checkers; no runtime dependency required.
if TYPE_CHECKING: if TYPE_CHECKING: