Change type of logging.RotatingFileHandler.maxBytes from str to int (#12045)

This commit is contained in:
muamerp
2024-05-27 13:34:34 +02:00
committed by GitHub
parent f9536ec21c
commit 10bf03bd38

View File

@@ -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__(