added docs for new arg
This commit is contained in:
parent
8217c1c39c
commit
bec9ebbf30
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@ def unfrackpath(path, follow=True):
|
||||||
Returns a path that is free of symlinks (if follow=True), environment variables, relative path traversals and symbols (~)
|
Returns a path that is free of symlinks (if follow=True), environment variables, relative path traversals and symbols (~)
|
||||||
|
|
||||||
:arg path: A byte or text string representing a path to be canonicalized
|
:arg path: A byte or text string representing a path to be canonicalized
|
||||||
|
:arg follow: A boolean to indicate of symlinks should be resolved or not
|
||||||
:raises UnicodeDecodeError: If the canonicalized version of the path
|
:raises UnicodeDecodeError: If the canonicalized version of the path
|
||||||
contains non-utf8 byte sequences.
|
contains non-utf8 byte sequences.
|
||||||
:rtype: A text string (unicode on pyyhon2, str on python3).
|
:rtype: A text string (unicode on pyyhon2, str on python3).
|
||||||
|
|
Loading…
Reference in a new issue