From ab8e0e1ca15b520cc2831ea54b3f9512ce2a234f Mon Sep 17 00:00:00 2001 From: Brian Schubert Date: Tue, 15 Oct 2024 14:54:48 -0400 Subject: [PATCH] Fix return type of `logging.config.BaseConfigurator.as_tuple` (#12817) --- stdlib/logging/config.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/logging/config.pyi b/stdlib/logging/config.pyi index 83fe7461c..af57f3671 100644 --- a/stdlib/logging/config.pyi +++ b/stdlib/logging/config.pyi @@ -116,7 +116,7 @@ class BaseConfigurator: # undocumented def cfg_convert(self, value: str) -> Any: ... def convert(self, value: Any) -> Any: ... def configure_custom(self, config: dict[str, Any]) -> Any: ... - def as_tuple(self, value: list[Any] | tuple[Any]) -> tuple[Any]: ... + def as_tuple(self, value: list[Any] | tuple[Any, ...]) -> tuple[Any, ...]: ... class DictConfigurator(BaseConfigurator): def configure(self) -> None: ... # undocumented