Skip to content

Commit cd3f52a

Browse files
authored
Simplify logging.config type imports (#10077)
1 parent 0e4604e commit cd3f52a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

stdlib/logging/config.pyi

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,10 @@ from configparser import RawConfigParser
55
from re import Pattern
66
from threading import Thread
77
from typing import IO, Any
8+
from typing_extensions import Literal, TypedDict
89

910
from . import _Level
1011

11-
if sys.version_info >= (3, 8):
12-
from typing import Literal, TypedDict
13-
else:
14-
from typing_extensions import Literal, TypedDict
15-
1612
DEFAULT_LOGGING_CONFIG_PORT: int
1713
RESET_ERROR: int # undocumented
1814
IDENTIFIER: Pattern[str] # undocumented

0 commit comments

Comments
 (0)