From 10bf03bd38a34724846c9aad56a7f6dbed1344d1 Mon Sep 17 00:00:00 2001 From: muamerp <122777933+muamerp@users.noreply.github.com> Date: Mon, 27 May 2024 13:34:34 +0200 Subject: [PATCH] Change type of `logging.RotatingFileHandler.maxBytes` from str to int (#12045) --- stdlib/logging/handlers.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/logging/handlers.pyi b/stdlib/logging/handlers.pyi index 4c3dc9133..4e97012ab 100644 --- a/stdlib/logging/handlers.pyi +++ b/stdlib/logging/handlers.pyi @@ -46,7 +46,7 @@ class BaseRotatingHandler(FileHandler): def rotate(self, source: str, dest: str) -> None: ... class RotatingFileHandler(BaseRotatingHandler): - maxBytes: str # undocumented + maxBytes: int # undocumented backupCount: int # undocumented if sys.version_info >= (3, 9): def __init__(