diff --git a/README.md b/README.md index b9db1ef..c2094ca 100644 --- a/README.md +++ b/README.md @@ -1605,7 +1605,7 @@ Command Execution ----------------- ### Files and Directories * **Paths can be either strings, Paths, or DirEntry objects.** -* **Functions report OS related errors by raising either OSError or one of its subclasses.** +* **Functions report [OS related errors](#exceptions-1) by raising either OSError or one of its subclasses.** ```python import os, shutil diff --git a/index.html b/index.html index 067a49d..19a94e3 100644 --- a/index.html +++ b/index.html @@ -668,7 +668,7 @@ shuffle(<list>) <Ta/DTa> = <T/DT>.replace(tzinfo=<tzinfo>) # Unconverted object with new timezone.

Encode

<D/T/DT> = D/T/DT.fromisoformat('<iso>')    # Object from ISO string. Raises ValueError.
-<DT>     = DT.strptime(<str>, '<format>')   # Datetime from str, according to format. 
+<DT>     = DT.strptime(<str>, '<format>')   # Datetime from str, according to format.
 <D/DTn>  = D/DT.fromordinal(<int>)          # D/DTn from days since Christ, at midnight.
 <DTn>    = DT.fromtimestamp(<real>)         # Local time DTn from seconds since Epoch.
 <DTa>    = DT.fromtimestamp(<real>, <tz.>)  # Aware datetime from seconds since Epoch.
@@ -1458,7 +1458,7 @@ value = args.<name>
 

#Command Execution

Files and Directories

  • Paths can be either strings, Paths, or DirEntry objects.
  • -
  • Functions report OS related errors by raising either OSError or one of its subclasses.
  • +
  • Functions report OS related errors by raising either OSError or one of its subclasses.
import os, shutil
 <str> = os.getcwd()                # Returns the current working directory.
 os.chdir(<path>)                   # Changes current working directory.