You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li><strong><codeclass="python hljs"><spanclass="hljs-string">'FileNotFoundError'</span></code> can be risen when reading with <codeclass="python hljs"><spanclass="hljs-string">'r'</span></code> or <codeclass="python hljs"><spanclass="hljs-string">'r+'</span></code>.</strong></li>
1361
1361
<li><strong><codeclass="python hljs"><spanclass="hljs-string">'FileExistsError'</span></code> can be risen when writing with <codeclass="python hljs"><spanclass="hljs-string">'x'</span></code>.</strong></li>
1362
+
<li><strong><codeclass="python hljs"><spanclass="hljs-string">'IsADirectoryError'</span></code> and <codeclass="python hljs"><spanclass="hljs-string">'PermissionError'</span></code> can be risen by any.</strong></li>
1363
+
<li><strong><codeclass="python hljs"><spanclass="hljs-string">'OSError'</span></code> is the parent class of all listed exceptions.</strong></li>
1362
1364
</ul>
1363
1365
<h3id="file">File</h3>
1364
1366
<pre><codeclass="python language-python hljs"><file>.seek(<spanclass="hljs-number">0</span>) <spanclass="hljs-comment"># Moves to the start of the file.</span>
0 commit comments