<li><strong><codeclass="python hljs"><spanclass="hljs-string">'FileNotFoundError'</span></code> can be raised when reading with <codeclass="python hljs"><spanclass="hljs-string">'r'</span></code> or <codeclass="python hljs"><spanclass="hljs-string">'r+'</span></code>.</strong></li>
<li><strong><codeclass="python hljs"><spanclass="hljs-string">'FileNotFoundError'</span></code> can be raised when reading with <codeclass="python hljs"><spanclass="hljs-string">'r'</span></code> or <codeclass="python hljs"><spanclass="hljs-string">'r+'</span></code>.</strong></li>
@ -1363,6 +1362,7 @@ value = args.<name>
<pre><codeclass="python language-python hljs"><file>.write(<str/bytes>) <spanclass="hljs-comment"># Writes a string or bytes object.</span>
<pre><codeclass="python language-python hljs"><file>.write(<str/bytes>) <spanclass="hljs-comment"># Writes a string or bytes object.</span>
<file>.writelines(<collection>) <spanclass="hljs-comment"># Writes a coll. of strings or bytes objects.</span>
<file>.writelines(<collection>) <spanclass="hljs-comment"># Writes a coll. of strings or bytes objects.</span>
<file>.flush() <spanclass="hljs-comment"># Flushes write buffer. Runs every 4096/8192 B.</span>
<file>.flush() <spanclass="hljs-comment"># Flushes write buffer. Runs every 4096/8192 B.</span>
<file>.close() <spanclass="hljs-comment"># Closes the file after flushing.</span>
</code></pre>
</code></pre>
<ul>
<ul>
<li><strong>Methods do not add or strip trailing newlines, not even writelines().</strong></li>
<li><strong>Methods do not add or strip trailing newlines, not even writelines().</strong></li>