Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jan 31, 2023

Commits on Jan 31, 2023

  1. pythongh-77607: Improve accuracy of os.path.join docs (pythonGH-101406)

    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>
    hauntsaninja authored and miss-islington committed Jan 31, 2023
    Configuration menu
    Copy the full SHA
    46a47ac View commit details
    Browse the repository at this point in the history