Skip to content

Commit 10bf03b

Browse files
authored
Change type of logging.RotatingFileHandler.maxBytes from str to int (#12045)
1 parent f9536ec commit 10bf03b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/logging/handlers.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class BaseRotatingHandler(FileHandler):
4646
def rotate(self, source: str, dest: str) -> None: ...
4747

4848
class RotatingFileHandler(BaseRotatingHandler):
49-
maxBytes: str # undocumented
49+
maxBytes: int # undocumented
5050
backupCount: int # undocumented
5151
if sys.version_info >= (3, 9):
5252
def __init__(

0 commit comments

Comments
 (0)