Skip to content

Commit bb67044

Browse files
authored
Use typing_extensions.TypedDict on Python < 3.12 (#1404)
1 parent a072575 commit bb67044

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pydantic_core/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
else:
3535
from typing import NotRequired as _NotRequired
3636

37-
if _sys.version_info < (3, 9):
37+
if _sys.version_info < (3, 12):
3838
from typing_extensions import TypedDict as _TypedDict
3939
else:
4040
from typing import TypedDict as _TypedDict

0 commit comments

Comments
 (0)