Skip to content

Commit

Permalink
Use typing_extensions.TypedDict on Python < 3.12 (#1404)
Browse files Browse the repository at this point in the history
  • Loading branch information
candleindark authored Aug 14, 2024
1 parent a072575 commit bb67044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pydantic_core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
else:
from typing import NotRequired as _NotRequired

if _sys.version_info < (3, 9):
if _sys.version_info < (3, 12):
from typing_extensions import TypedDict as _TypedDict
else:
from typing import TypedDict as _TypedDict
Expand Down

0 comments on commit bb67044

Please sign in to comment.