Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_drv
_root
_tail_cached
1 parent 38360dc commit 7a24a78Copy full SHA for 7a24a78
1 file changed
Lib/pathlib/__init__.py
@@ -282,9 +282,6 @@ def _make_child_entry(self, entry):
282
# Transform an entry yielded from _scandir() into a path object.
283
path = self.with_segments(entry.path)
284
path._str = entry.name if str(self) == '.' else entry.path
285
- path._drv = self.drive
286
- path._root = self.root
287
- path._tail_cached = self._tail + [entry.name]
288
return path
289
290
def absolute(self):
0 commit comments