Skip to content

Commit bf77712

Browse files
committed
address review comments
1 parent 099c2b3 commit bf77712

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/compas/_os.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,12 +256,13 @@ def absjoin(*parts):
256256

257257

258258
def realpath(path):
259-
"""Return the canonical path of the specified filename, eliminating any symbolic links encountered in the path.
259+
"""Return the canonical path of the specified filename, resolving any symbolic links encountered in the path.
260260
261261
This function uses Python's stdlib `os.path.realpath` in most cases,
262262
except when inside IronPython because (guess what?) it is broken and
263263
doesn't really eliminate sym links, so, we fallback to a different
264-
way to identifying symlinks in that situation."""
264+
way to identifying symlinks in that situation.
265+
"""
265266
if not PY3 and is_ironpython():
266267
if is_windows():
267268
return _realpath_ipy_win(path)

0 commit comments

Comments
 (0)