Skip to content

Commit

Permalink
Add some additional Python 3.12 typing members to deprecated-import
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed Jan 9, 2024
1 parent 86b1ae9 commit ad26509
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -342,11 +342,13 @@ const TYPING_EXTENSIONS_TO_TYPING_312: &[&str] = &[
"SupportsFloat",
"SupportsInt",
"SupportsRound",
"TypeAliasType",
"TypedDict",
"Unpack",
// Introduced in Python 3.11, but `typing_extensions` backports the `frozen_default` argument,
// which was introduced in Python 3.12.
"dataclass_transform",
"override",
];

struct ImportReplacer<'a> {
Expand Down

0 comments on commit ad26509

Please sign in to comment.