import TypedDict from typing, not from extensions (#589)

TypedDict is in the supported python versions
available in typing. Therefore an import from
potentially uninstalled typing_extensions is
not necessary.

fixes #560
This commit is contained in:
Patrick Kanzler 2023-10-28 21:11:38 +02:00 committed by GitHub
parent a50a3b7167
commit 5d3d2ca34b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -1,9 +1,7 @@
# -*- coding: utf-8 -*-
"""Custom types."""
from typing import Dict
from typing_extensions import TypedDict
from typing import Dict, TypedDict
class ConstTxtStyleClass(TypedDict):