8000 Add module docstring for `pathlib._abc`. (#113691) · python/cpython@21f83ef · GitHub
[go: up one dir, main page]

Skip to content

Commit 21f83ef

Browse files
authored
Add module docstring for pathlib._abc. (#113691)
1 parent f20b151 commit 21f83ef

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Lib/pathlib/_abc.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
"""
2+
Abstract base classes for rich path objects.
3+
4+
This module is published as a PyPI package called "pathlib-abc".
5+
6+
This module is also a *PRIVATE* part of the Python standard library, where
7+
it's developed alongside pathlib. If it finds success and maturity as a PyPI
8+
package, it could become a public part of the standard library.
9+
10+
Two base classes are defined here -- PurePathBase and PathBase -- that
11+
resemble pathlib's PurePath and Path respectively.
12+
"""
13+
114
import functools
215
import posixpath
316
from errno import ENOENT, ENOTDIR, EBADF, ELOOP, EINVAL

0 commit comments

Comments
 (0)
0