Skip to content

Commit e060c2e

Browse files
committed
Open
1 parent 430d346 commit e060c2e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1429,7 +1429,7 @@ value = args.<name>
14291429

14301430
Open
14311431
----
1432-
**Opens a file and returns a corresponding file object.**
1432+
**Opens a file and returns a corresponding file object or raises 'FileNotFoundError'.**
14331433

14341434
```python
14351435
<file> = open('<path>', mode='r', encoding=None, newline=None)

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1307,7 +1307,7 @@ <h3 id="argparse">Argparse</h3>
13071307
<li><strong>Use <code class="python hljs"><span class="hljs-string">'type=FileType(&lt;mode&gt;)'</span></code> for files.</strong></li>
13081308
</ul>
13091309
<h2 id="open"><a href="#open" name="open">#</a>Open</h2>
1310-
<p><strong>Opens a file and returns a corresponding file object.</strong></p>
1310+
<p><strong>Opens a file and returns a corresponding file object or raises 'FileNotFoundError'.</strong></p>
13111311
<pre><code class="python language-python hljs">&lt;file&gt; = open(<span class="hljs-string">'&lt;path&gt;'</span>, mode=<span class="hljs-string">'r'</span>, encoding=<span class="hljs-keyword">None</span>, newline=<span class="hljs-keyword">None</span>)
13121312
</code></pre>
13131313
<ul>

0 commit comments

Comments
 (0)