From 3c58736d01b4befa4499e481e87bd7e8458dac20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90=E1=BB=97=20Qu=E1=BB=91c=20V=C6=B0=C6=A1ng?= Date: Thu, 7 Oct 2021 20:31:53 +0700 Subject: [PATCH] Change type of backupCount from str to int (#6128) --- stdlib/logging/handlers.pyi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stdlib/logging/handlers.pyi b/stdlib/logging/handlers.pyi index 762359bc1..5be624872 100644 --- a/stdlib/logging/handlers.pyi +++ b/stdlib/logging/handlers.pyi @@ -46,7 +46,7 @@ class BaseRotatingHandler(FileHandler): class RotatingFileHandler(BaseRotatingHandler): maxBytes: str # undocumented - backupCount: str # undocumented + backupCount: int # undocumented if sys.version_info >= (3, 9): def __init__( self, @@ -73,7 +73,7 @@ class RotatingFileHandler(BaseRotatingHandler): class TimedRotatingFileHandler(BaseRotatingHandler): when: str # undocumented - backupCount: str # undocumented + backupCount: int # undocumented utc: bool # undocumented atTime: datetime.datetime | None # undocumented interval: int # undocumented