import TypedDict from typing, not from extensions

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:02:51 +02:00
parent a50a3b7167
commit 85dd9d6beb

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):