Fix escape sequence in docstring

This commit is contained in:
Eric Torres
2019-04-12 11:12:19 -07:00
parent 88e5aa56d4
commit 792d641ff9
2 changed files with 7 additions and 5 deletions

View File

@@ -25,6 +25,8 @@ class Hierarchy(PathLike):
to call either shutil.mkdir() or a related method to create
the directory structure it emulates.
For consistency, Hierarchy objects always store and return absolute paths.
Attributes
----------
* Hierarchy.path
@@ -49,7 +51,7 @@ class Hierarchy(PathLike):
:type dest: str or path-like object
"""
try:
self._path = Path(dest)
self._path = Path(dest).resolve()
except TypeError as e:
raise e