pathlib.Path的简单子类化错误:没有_flavour属性

我正在尝试从pathlib继承Path,但是在实例化时出现以下错误而失败

from pathlib import Path
class Pl(Path):
    def __init__(self, *pathsegments: str):
        super().__init__(*pathsegments)

实例化时出错

AttributeError: type object 'Pl' has no attribute '_flavour'