diff --git a/README.md b/README.md index cfccd23..00253bf 100644 --- a/README.md +++ b/README.md @@ -1621,7 +1621,7 @@ from os import scandir ```python = scandir(path='.') # Returns DirEntry objects located at path. - = .path # Returns path as a string. + = .path # Returns whole path as a string. = .name # Returns final component as a string. = open() # Opens the file and returns file object. ``` diff --git a/index.html b/index.html index cfed481..5a26870 100644 --- a/index.html +++ b/index.html @@ -1505,7 +1505,7 @@ value = args.<name>
<iter> = scandir(path='.')          # Returns DirEntry objects located at path.
-<str>  = <DirEntry>.path            # Returns path as a string.
+<str>  = <DirEntry>.path            # Returns whole path as a string.
 <str>  = <DirEntry>.name            # Returns final component as a string.
 <file> = open(<DirEntry>)           # Opens the file and returns file object.