-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
gh-130536: Added details to os.path
documentation
#130557
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
base: main
Are you sure you want to change the base?
Conversation
I don't think we need to explain in the seealso block what each function does. I think it's fine to have an inline "See also the functions X, Y and Z" to avoid repeating links (similar to what we currently do for Note: I'm leaving until Saturday, so I won't have time to review the changes until then. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
friendly ping @barneygale
|
||
If a segment is an absolute path (which on Windows requires both a drive and | ||
a root), then all previous segments are ignored and joining continues from the | ||
absolute path segment. For example:: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to confirm, this example is non-Windows only right? namely macOS and Linux right? If so, I would add "On Linux, for example::" (the paragraph is not exactly Linux specific but the example is)
Potential solution to #130536
os.path
documentation #130536📚 Documentation preview 📚: https://cpython-previews--130557.org.readthedocs.build/