__fspath__
westurner opened this issue · 0 comments
westurner commented
New in version 3.6.
abstractmethod
__fspath__()
Return the file system path representation of the object.The method should only return a
str
orbytes
object, with the preference being forstr
.
https://docs.python.org/3/library/os.html#os.PathLike.__fspath__