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
Copy file name to clipboardExpand all lines: index.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1371,7 +1371,7 @@
1371
1371
<list> = <file>.readlines() <spanclass="hljs-comment"># Returns a list of remaining lines.</span>
1372
1372
<str/bytes> = next(<file>) <spanclass="hljs-comment"># Returns a line using buffer. Do not mix.</span>
1373
1373
</code></pre>
1374
-
<pre><codeclass="python language-python hljs"><file>.write(<str/bytes>) <spanclass="hljs-comment"># Writes a string or bytes object to the file.</span>
1374
+
<pre><codeclass="python language-python hljs"><file>.write(<str/bytes>) <spanclass="hljs-comment"># Writes a string or bytes object.</span>
1375
1375
<file>.writelines(<collection>) <spanclass="hljs-comment"># Writes a coll. of strings or bytes objects.</span>
1376
1376
<file>.flush() <spanclass="hljs-comment"># Flushes write buffer. Runs every 4096/8192 B.</span>
1377
1377
<file>.close() <spanclass="hljs-comment"># Closes the file after flushing write buffer.</span>
0 commit comments