diff --git a/README.md b/README.md index 557a965..d015455 100644 --- a/README.md +++ b/README.md @@ -1527,9 +1527,9 @@ Open * **`'b'` - Binary mode.** ### 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.** +* **`'FileNotFoundError'` can be raised when reading with `'r'` or `'r+'`.** +* **`'FileExistsError'` can be raised when writing with `'x'`.** +* **`'IsADirectoryError'` and `'PermissionError'` can be raised by any.** * **`'OSError'` is the parent class of all listed exceptions.** ### File Object diff --git a/index.html b/index.html index b450a17..889d713 100644 --- a/index.html +++ b/index.html @@ -1417,9 +1417,9 @@ value = args.<name>
't'
- Text mode (default).'b'
- Binary mode.'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.'FileNotFoundError'
can be raised when reading with 'r'
or 'r+'
.'FileExistsError'
can be raised when writing with 'x'
.'IsADirectoryError'
and 'PermissionError'
can be raised by any.'OSError'
is the parent class of all listed exceptions.<file>.seek(0) # Moves to the start of the file.
<file>.seek(offset) # Moves 'offset' chars/bytes from the start.