Add module docstring for `pathlib._abc`. (#113691)

This commit is contained in:
Barney Gale 2024-01-13 08:47:00 +00:00 committed by GitHub
parent f20b151a1c
commit 21f83efd10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,16 @@
"""
Abstract base classes for rich path objects.
This module is published as a PyPI package called "pathlib-abc".
This module is also a *PRIVATE* part of the Python standard library, where
it's developed alongside pathlib. If it finds success and maturity as a PyPI
package, it could become a public part of the standard library.
Two base classes are defined here -- PurePathBase and PathBase -- that
resemble pathlib's PurePath and Path respectively.
"""
import functools
import posixpath
from errno import ENOENT, ENOTDIR, EBADF, ELOOP, EINVAL