diff --git a/README.md b/README.md index c692715..67ed146 100644 --- a/README.md +++ b/README.md @@ -1571,8 +1571,8 @@ cwd = Path() ``` ```python - = .iterdir() # Iterator of filenames located at path. - = .glob('') # Filenames matching the wildcard pattern. + = .iterdir() # Returns dir contents as Path objects. + = .glob('') # Paths matching the wildcard pattern. ``` ```python diff --git a/index.html b/index.html index 3a5488e..5851b17 100644 --- a/index.html +++ b/index.html @@ -1427,8 +1427,8 @@ value = args.<name> <bool> = <Path>.is_file() <bool> = <Path>.is_dir() -
<iter> = <Path>.iterdir()          # Iterator of filenames located at path.
-<iter> = <Path>.glob('<pattern>')  # Filenames matching the wildcard pattern.
+
<iter> = <Path>.iterdir()          # Returns dir contents as Path objects.
+<iter> = <Path>.glob('<pattern>')  # Paths matching the wildcard pattern.
 
<str>  = str(<Path>)               # Returns path as a string.
 <tup.> = <Path>.parts              # Returns all components as strings.