Skip to content

Commit ff55e6c

Browse files
committed
Path
1 parent a7bf3b5 commit ff55e6c

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
@@ -1621,7 +1621,7 @@ from os import scandir
16211621

16221622
```python
16231623
<iter> = scandir(path='.') # Returns DirEntry objects located at path.
1624-
<str> = <DirEntry>.path # Returns path as a string.
1624+
<str> = <DirEntry>.path # Returns whole path as a string.
16251625
<str> = <DirEntry>.name # Returns final component as a string.
16261626
<file> = open(<DirEntry>) # Opens the file and returns file object.
16271627
```

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1505,7 +1505,7 @@
15051505

15061506

15071507
<pre><code class="python language-python hljs">&lt;iter&gt; = scandir(path=<span class="hljs-string">'.'</span>) <span class="hljs-comment"># Returns DirEntry objects located at path.</span>
1508-
&lt;str&gt; = &lt;DirEntry&gt;.path <span class="hljs-comment"># Returns path as a string.</span>
1508+
&lt;str&gt; = &lt;DirEntry&gt;.path <span class="hljs-comment"># Returns whole path as a string.</span>
15091509
&lt;str&gt; = &lt;DirEntry&gt;.name <span class="hljs-comment"># Returns final component as a string.</span>
15101510
&lt;file&gt; = open(&lt;DirEntry&gt;) <span class="hljs-comment"># Opens the file and returns file object.</span>
15111511
</code></pre>

0 commit comments

Comments
 (0)