https://github.com/python/cpython/commit/21f83efd106a19f1d26e049c06678a6729a721f0
commit: 21f83efd106a19f1d26e049c06678a6729a721f0
branch: main
author: Barney Gale <[email protected]>
committer: barneygale <[email protected]>
date: 2024-01-13T08:47:00Z
summary:

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

files:
M Lib/pathlib/_abc.py

diff --git a/Lib/pathlib/_abc.py b/Lib/pathlib/_abc.py
index e53921edaa2cae..a6956f251f8b7e 100644
--- a/Lib/pathlib/_abc.py
+++ b/Lib/pathlib/_abc.py
@@ -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

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to