<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def parent(self):
 """The parent directory of this path. """

        p = self._lib.dirname(self.path)
        p = self.__class__(p)
        return p