From d6caf1fb04ccc554da8745826b201d4ddb836c72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Tue, 9 Jul 2019 13:20:23 +0200 Subject: [PATCH] Open --- README.md | 2 ++ index.html | 2 ++ 2 files changed, 4 insertions(+) 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>

File

<file>.seek(0)                      # Moves to the start of the file.