Skip to content

gh-99387: Update pathlib.Path.absolute() docs to add versionadded #99416

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

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Doc/library/pathlib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1217,6 +1217,8 @@ call fails (for example because the path doesn't exist).
>>> p.absolute()
PosixPath('/home/antoine/pathlib/tests')

.. versionadded:: 3.11
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
.. versionadded:: 3.11
.. versionadded:: 3.4

But per Brandt, this likely isn't needed at all.

A

Copy link
Author

@Reddragonemperor58 Reddragonemperor58 Nov 12, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah my bad I was committing changes when he posted and I didn't see that but still
@AA-Turner isn't it 3.11?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is marked as resolved, though you haven't pushed the change yet -- is this intentional?

A

Copy link
Author

@Reddragonemperor58 Reddragonemperor58 Nov 12, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No i didn't understand the term!
i just clicked on it and was waiting for your reply then I saw it was changed to unresolved;😅
and the resolved thing was trailing whitespaces



.. method:: Path.resolve(strict=False)

Expand Down