mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Change type of backupCount from str to int (#6128)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user