diff --git a/README.md b/README.md index ceb43a9..08428ae 100644 --- a/README.md +++ b/README.md @@ -1622,13 +1622,13 @@ os.mkdir(, mode=0o777) # Creates a directory. ```python = .name # Final component of the path. = .path # Path with final component. + = Path() # Path as Path object. ``` ```python = .is_file() = .is_dir() = .is_symlink() - = Path() ``` ### Shell Commands diff --git a/index.html b/index.html index 796f1b2..695d2ae 100644 --- a/index.html +++ b/index.html @@ -1454,11 +1454,11 @@ os.replace(from, to) DirEntry:
<str>  = <DirEntry>.name          # Final component of the path.
 <str>  = <DirEntry>.path          # Path with final component.
+<Path> = Path(<DirEntry>)         # Path as Path object.
 
<bool> = <DirEntry>.is_file()
 <bool> = <DirEntry>.is_dir()
 <bool> = <DirEntry>.is_symlink()
-<Path> = Path(<DirEntry>)
 

Shell Commands

import os