mirror of
https://github.com/TomSchimansky/CustomTkinter.git
synced 2023-08-10 21:13:13 +03:00
fixed support for python3.7 #737
This commit is contained in:
@ -1,5 +1,9 @@
|
||||
import tkinter
|
||||
from typing import Union, Tuple, List, Dict, Callable, Optional, Literal
|
||||
from typing import Union, Tuple, List, Dict, Callable, Optional
|
||||
try:
|
||||
from typing import Literal
|
||||
except ImportError:
|
||||
from typing_extensions import Literal
|
||||
|
||||
from .theme import ThemeManager
|
||||
from .font import CTkFont
|
||||
|
Reference in New Issue
Block a user