Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def parents(self): parents = pathlib._PathParents(self) parents._pathcls = self return parents
Object-oriented filesystem paths