Skip to content

Commit cedb06a

Browse files
committed
OS commands
1 parent 0ebd42f commit cedb06a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1679,7 +1679,7 @@ shutil.copytree(from, to) # Copies the directory.
16791679
```
16801680

16811681
```python
1682-
os.rename(from, to) # Renames the file or directory.
1682+
os.rename(from, to) # Renames or moves the file or directory.
16831683
os.replace(from, to) # Same, but overwrites 'to' if it exists.
16841684
```
16851685

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1525,7 +1525,7 @@
15251525
<pre><code class="python language-python hljs">shutil.copy(from, to) <span class="hljs-comment"># Copies the file.</span>
15261526
shutil.copytree(from, to) <span class="hljs-comment"># Copies the directory.</span>
15271527
</code></pre>
1528-
<pre><code class="python language-python hljs">os.rename(from, to) <span class="hljs-comment"># Renames the file or directory.</span>
1528+
<pre><code class="python language-python hljs">os.rename(from, to) <span class="hljs-comment"># Renames or moves the file or directory.</span>
15291529
os.replace(from, to) <span class="hljs-comment"># Same, but overwrites 'to' if it exists.</span>
15301530
</code></pre>
15311531
<pre><code class="python language-python hljs">os.remove(&lt;path&gt;) <span class="hljs-comment"># Deletes the file.</span>

parse.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const TOC =
3434
'</code></pre>\n';
3535

3636
const OS_RENAME =
37-
'os.rename(from, to) <span class="hljs-comment"># Renames the file or directory.</span>\n' +
37+
'os.rename(from, to) <span class="hljs-comment"># Renames or moves the file or directory.</span>\n' +
3838
'os.replace(from, to) <span class="hljs-comment"># Same, but overwrites \'to\' if it exists.</span>\n';
3939

4040
const SHUTIL_COPY =

0 commit comments

Comments
 (0)