diff --git a/README.md b/README.md index a70316a..fd56873 100644 --- a/README.md +++ b/README.md @@ -1604,7 +1604,7 @@ Command Execution ----------------- ### Files and Directories * **Paths can be either strings, Paths, or DirEntry objects.** -* **All functions can raise either OSError or its subclasses.** +* **Functions report OS related errors by raising either OSError or one of its subclasses.** ```python import os, shutil diff --git a/index.html b/index.html index 8115e37..52194de 100644 --- a/index.html +++ b/index.html @@ -1457,7 +1457,7 @@ value = args.<name>
import os, shutil
<str> = os.getcwd() # Returns the current working directory.
os.chdir(<path>) # Changes current working directory.