Skip to content

Commit 941f009

Browse files
committed
Update support imports
1 parent a8d195e commit 941f009

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

babel/support.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import gettext
1616
import locale
1717
from datetime import date as _date, datetime as _datetime, time as _time, timedelta as _timedelta
18-
from typing import TYPE_CHECKING, Literal
18+
from typing import TYPE_CHECKING
1919

2020
from pytz import BaseTzInfo
2121

@@ -27,6 +27,8 @@
2727
format_scientific)
2828

2929
if TYPE_CHECKING:
30+
from typing_extensions import Literal
31+
3032
from babel.dates import _PredefinedTimeFormat
3133

3234
class Format:

0 commit comments

Comments
 (0)