Skip to content

Commit 05f360c

Browse files
committed
Open
1 parent 5328b93 commit 05f360c

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
@@ -1600,7 +1600,7 @@ Open
16001600
```
16011601

16021602
```python
1603-
<file>.write(<str/bytes>) # Writes a string or bytes object to the file.
1603+
<file>.write(<str/bytes>) # Writes a string or bytes object.
16041604
<file>.writelines(<collection>) # Writes a coll. of strings or bytes objects.
16051605
<file>.flush() # Flushes write buffer. Runs every 4096/8192 B.
16061606
<file>.close() # Closes the file after flushing write buffer.

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1371,7 +1371,7 @@
13711371
&lt;list&gt; = &lt;file&gt;.readlines() <span class="hljs-comment"># Returns a list of remaining lines.</span>
13721372
&lt;str/bytes&gt; = next(&lt;file&gt;) <span class="hljs-comment"># Returns a line using buffer. Do not mix.</span>
13731373
</code></pre>
1374-
<pre><code class="python language-python hljs">&lt;file&gt;.write(&lt;str/bytes&gt;) <span class="hljs-comment"># Writes a string or bytes object to the file.</span>
1374+
<pre><code class="python language-python hljs">&lt;file&gt;.write(&lt;str/bytes&gt;) <span class="hljs-comment"># Writes a string or bytes object.</span>
13751375
&lt;file&gt;.writelines(&lt;collection&gt;) <span class="hljs-comment"># Writes a coll. of strings or bytes objects.</span>
13761376
&lt;file&gt;.flush() <span class="hljs-comment"># Flushes write buffer. Runs every 4096/8192 B.</span>
13771377
&lt;file&gt;.close() <span class="hljs-comment"># Closes the file after flushing write buffer.</span>

0 commit comments

Comments
 (0)