Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
gh-130536: Add 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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
arthurlw commented Feb 25, 2025 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
ghost commented Feb 25, 2025 • edited by ghost
Loading Uh oh!
There was an error while loading. Please reload this page.
edited by ghost
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
picnixz commented Feb 25, 2025 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
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. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
picnixz left a comment
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
Doc/library/os.path.rst Outdated
| 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)
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.
Sorry for the delay, good catch! I committed the fix
os.path documentationos.path documentationba587ed into python:mainUh oh!
There was an error while loading. Please reload this page.
) (cherry picked from commit ba587ed) Co-authored-by: Arthur Wigo <arthur.l.wigo@gmail.com>
) (cherry picked from commit ba587ed) Co-authored-by: Arthur Wigo <arthur.l.wigo@gmail.com>
GH-142800 is a backport of this pull request to the 3.14 branch. |
GH-142801 is a backport of this pull request to the 3.13 branch. |
…142800) Co-authored-by: Arthur Wigo <arthur.l.wigo@gmail.com>
…142801) Co-authored-by: Arthur Wigo <arthur.l.wigo@gmail.com>
Potential solution to #130536
os.pathdocumentation #130536📚 Documentation preview 📚: https://cpython-previews--130557.org.readthedocs.build/