Skip to content

Commit 31119e4

Browse files
committed
Issue #19673: Add pathlib to the stdlib as a provisional module (PEP 428).
1 parent b523f84 commit 31119e4

File tree

8 files changed

+3830
-0
lines changed

8 files changed

+3830
-0
lines changed

Doc/library/filesys.rst

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ in this chapter is:
1212

1313
.. toctree::
1414

15+
pathlib.rst
1516
os.path.rst
1617
fileinput.rst
1718
stat.rst

Doc/library/glob.rst

+4
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ For a literal match, wrap the meta-characters in brackets.
2525
For example, ``'[?]'`` matches the character ``'?'``.
2626

2727

28+
.. seealso::
29+
The :mod:`pathlib` module offers high-level path objects.
30+
31+
2832
.. function:: glob(pathname)
2933

3034
Return a possibly-empty list of path names that match *pathname*, which must be

Doc/library/os.path.rst

+5
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ Functions such as :func:`expanduser` and :func:`expandvars` can be invoked
2222
explicitly when an application desires shell-like path expansion. (See also
2323
the :mod:`glob` module.)
2424

25+
26+
.. seealso::
27+
The :mod:`pathlib` module offers high-level path objects.
28+
29+
2530
.. note::
2631

2732
All of these functions accept either only bytes or only string objects as

0 commit comments

Comments
 (0)