Skip to content
Open
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
8 changes: 8 additions & 0 deletions Doc/library/pathlib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -746,6 +746,14 @@ Pure paths provide the following methods and properties:

.. versionadded:: 3.12

.. versionchanged:: 3.14

Some methods that accept path objects, such as :meth:`match` and
:meth:`~Path.rename`, check for a ``with_segments`` attribute to
determine whether the argument is already a path object. If present,
the argument is used directly; otherwise, it is converted using
``with_segments()``.


.. _concrete-paths:

Expand Down
Loading