mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Remove Python 3.7 branches (#11238)
This commit is contained in:
@@ -28,16 +28,9 @@ else:
|
||||
class _LoggerConfiguration(_RootLoggerConfiguration, TypedDict, total=False):
|
||||
propagate: bool
|
||||
|
||||
if sys.version_info >= (3, 8):
|
||||
_FormatterConfigurationTypedDict = TypedDict(
|
||||
"_FormatterConfigurationTypedDict", {"class": str, "format": str, "datefmt": str, "style": _FormatStyle}, total=False
|
||||
)
|
||||
else:
|
||||
_FormatterConfigurationTypedDict = TypedDict(
|
||||
"_FormatterConfigurationTypedDict",
|
||||
{"class": str, "format": str, "datefmt": str, "style": _FormatStyle, "validate": bool},
|
||||
total=False,
|
||||
)
|
||||
_FormatterConfigurationTypedDict = TypedDict(
|
||||
"_FormatterConfigurationTypedDict", {"class": str, "format": str, "datefmt": str, "style": _FormatStyle}, total=False
|
||||
)
|
||||
|
||||
class _FilterConfigurationTypedDict(TypedDict):
|
||||
name: str
|
||||
|
||||
Reference in New Issue
Block a user