FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.10] gh-77607: Improve accuracy of os.path.join docs (GH-101406) by miss-islington · Pull Request #101452 · python/cpython · GitHub

/ cpython Public

[3.10] gh-77607: Improve accuracy of os.path.join docs (GH-101406) - #101452

Merged
miss-islington merged 1 commit into
python:3.10from
miss-islington:backport-909a674-3.10
Jan 31, 2023
Merged

[3.10] gh-77607: Improve accuracy of os.path.join docs (GH-101406)#101452
miss-islington merged 1 commit into
python:3.10from
miss-islington:backport-909a674-3.10

Conversation

Copy link
Copy Markdown
Contributor

This is a follow-up to GH-100811.

One of the changes in that PR isn't accurate in that
os.path.join('', '') will not end in a separator.

This reverts that change to the previous wording that used "only", but
explicitly calls out the case where the last part ends in a separator,
which is what caused confusin in GH-77607 and motivated the change
in GH-100811.
(cherry picked from commit 909a674)

Co-authored-by: Shantanu 12621235+hauntsaninja@users.noreply.github.com

This is a follow-up to pythonGH-100811.

One of the changes in that PR isn't accurate in that
`os.path.join('', '')` will not end in a separator.

This reverts that change to the previous wording that used "only", but
explicitly calls out the case where the last part ends in a separator,
which is what caused confusin in pythonGH-77607 and motivated the change
in pythonGH-100811.
(cherry picked from commit 909a674)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
miss-islington merged commit f36c272 into python:3.10 Jan 31, 2023
miss-islington deleted the backport-909a674-3.10 branch January 31, 2023 05:46
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL