diff --git a/README.md b/README.md index 0ec38b4..fc34f98 100644 --- a/README.md +++ b/README.md @@ -1487,6 +1487,8 @@ Open ### Exceptions * **`'FileNotFoundError'` can be risen when reading with `'r'` or `'r+'`.** * **`'FileExistsError'` can be risen when writing with `'x'`.** +* **`'IsADirectoryError'` and `'PermissionError'` can be risen by any.** +* **`'OSError'` is the parent class of all listed exceptions.** ### File ```python diff --git a/index.html b/index.html index cb36d39..0e1c701 100644 --- a/index.html +++ b/index.html @@ -1359,6 +1359,8 @@ value = args.<name>
'FileNotFoundError'
can be risen when reading with 'r'
or 'r+'
. 'FileExistsError'
can be risen when writing with 'x'
.'IsADirectoryError'
and 'PermissionError'
can be risen by any.'OSError'
is the parent class of all listed exceptions.<file>.seek(0) # Moves to the start of the file.