mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Since Python 3.6 logging.FileHandler's filename argument can be a PathLike object. Same for FileHandler's subclasses. logging.basicConfig passes its filename argument to a FileHandler, so this can be a PathLike object too. Finally, logging.config.fileConfig passes its fname argument to ConfigParser.read, which also takes a PathLike since version 3.6.1.