The logical parent of the path.
>>> p = PurePosixPath('/a/b/c/d') >>> p.parent PurePosixPath('/a/b/c')
pathlib/PurePath.parent
PurePath.parent