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

gh-100783: fix os.path.join documentation #100811

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

hauntsaninja
Copy link
Contributor

@hauntsaninja hauntsaninja commented Jan 6, 2023

  • Use "drive", not "drive letter", because of UNC paths
  • Previous components are not thrown away from relative drive letters
  • Use "segment" instead of "component" for consistency with pathlib

See issue for more details

- Use "drive", not "drive letter", because of UNC paths
- Previous components are not thrown away from relative drive letters
- Use "segment" instead of "component" for consistency with pathlib

See issue for more details
Doc/library/os.path.rst Outdated Show resolved Hide resolved
Doc/library/os.path.rst Outdated Show resolved Hide resolved
@hauntsaninja
Copy link
Contributor Author

hauntsaninja commented Jan 6, 2023

Thanks for the review, made the changes!

Copy link
Member

@JelleZijlstra JelleZijlstra left a comment

Looks good, one nit in nearby code.

Doc/library/os.path.rst Outdated Show resolved Hide resolved
Doc/library/os.path.rst Outdated Show resolved Hide resolved
Doc/library/os.path.rst Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants