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