Skip to content

Commit 6db54c3

Browse files
committed
Pathlib
1 parent d4d4e68 commit 6db54c3

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
@@ -1596,7 +1596,7 @@ cwd = Path()
15961596
```python
15971597
<Path> = <Path>.resolve() # Returns absolute path without symlinks.
15981598
<Path> = <Path>.parent # Returns path without final component.
1599-
<file> = open(<Path>) # Opens a file and returns file object.
1599+
<file> = open(<Path>) # Opens the file and returns a file object.
16001600
```
16011601

16021602

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1453,7 +1453,7 @@
14531453
</code></pre>
14541454
<pre><code class="python language-python hljs">&lt;Path&gt; = &lt;Path&gt;.resolve() <span class="hljs-comment"># Returns absolute path without symlinks.</span>
14551455
&lt;Path&gt; = &lt;Path&gt;.parent <span class="hljs-comment"># Returns path without final component.</span>
1456-
&lt;file&gt; = open(&lt;Path&gt;) <span class="hljs-comment"># Opens a file and returns file object.</span>
1456+
&lt;file&gt; = open(&lt;Path&gt;) <span class="hljs-comment"># Opens the file and returns a file object.</span>
14571457
</code></pre>
14581458
<div><h2 id="commandexecution"><a href="#commandexecution" name="commandexecution">#</a>Command Execution</h2><div><h3 id="filesanddirectories">Files and Directories</h3><ul>
14591459
<li><strong>Paths can be either strings, Paths, or DirEntry objects.</strong></li>

0 commit comments

Comments
 (0)