File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -306,11 +306,10 @@ the :mod:`glob` module.)
306
306
307
307
Join one or more path components intelligently. The return value is the
308
308
concatenation of *path * and any members of *\* paths * with exactly one
309
- directory separator (``os.sep ``) following each non-empty part except the
310
- last, meaning that the result will only end in a separator if the last
311
- part is empty. If a component is an absolute path, all previous
312
- components are thrown away and joining continues from the absolute path
313
- component.
309
+ directory separator following each non-empty part except the last, meaning
310
+ that the result will only end in a separator if the last part is empty. If
311
+ a component is an absolute path, all previous components are thrown away
312
+ and joining continues from the absolute path component.
314
313
315
314
On Windows, the drive letter is not reset when an absolute path component
316
315
(e.g., ``r'\foo' ``) is encountered. If a component contains a drive
You can’t perform that action at this time.
0 commit comments