diff --git a/README.md b/README.md index 4f44d1b..3cb06d9 100644 --- a/README.md +++ b/README.md @@ -1429,7 +1429,7 @@ value = args. Open ---- -**Opens a file and returns a corresponding file object.** +**Opens a file and returns a corresponding file object or raises 'FileNotFoundError'.** ```python = open('', mode='r', encoding=None, newline=None) diff --git a/index.html b/index.html index bb91ed6..3b4134c 100644 --- a/index.html +++ b/index.html @@ -1307,7 +1307,7 @@ value = args.<name>
  • Use 'type=FileType(<mode>)' for files.
  • #Open

    -

    Opens a file and returns a corresponding file object.

    +

    Opens a file and returns a corresponding file object or raises 'FileNotFoundError'.

    <file> = open('<path>', mode='r', encoding=None, newline=None)