Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
gh-130536: Improve os.path documentation#131872
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 ourterms of service andprivacy 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
Added cross-references to related functions and provided an example for os.path.join to enhance clarity.
ghost commentedMar 29, 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.
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.
Very messy
Return ``True`` if *path* is an absolute pathname. | ||
.. seealso:: | ||
:func:`os.path.abspath` - for converting paths to absolute paths. On Unix, that means it |
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.
This is a mess
.. seealso:: | ||
:func:`os.path.abspath` - for converting paths to absolute paths. On Unix, that means it |
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.
Usually these are put at the end of the note
'/home/bar' The return value is the | ||
concatenation of *path* and all members of *\*paths*, with exactly one |
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.
Needs to be fixed
:func:`os.path.join` - for joining paths efficiently. The | ||
*tail* part will never contain a slash; if *path* ends in a slash, *tail* |
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.
Again a mess
#130557 already exists. Please do not open PRs when an open PR against the issue already exists. TiA. |
Uh oh!
There was an error while loading.Please reload this page.
Added cross-references to related functions and provided an example for os.path.join to enhance clarity.
os.path
documentation #130536📚 Documentation preview 📚:https://cpython-previews--131872.org.readthedocs.build/