We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6d8707 commit 6b280a8Copy full SHA for 6b280a8
Doc/library/pathlib.rst
@@ -21,6 +21,12 @@ inherit from pure paths but also provide I/O operations.
21
.. image:: pathlib-inheritance.png
22
:align: center
23
:class: invert-in-dark-mode
24
+ :alt: Inheritance diagram showing the classes available in pathlib. The
25
+ most basic class is PurePath, which has three direct subclasses:
26
+ PurePosixPath, PureWindowsPath, and Path. Further to these four
27
+ classes, there are two classes that use multiple inheritance:
28
+ PosixPath subclasses PurePosixPath and Path, and WindowsPath
29
+ subclasses PureWindowsPath and Path.
30
31
If you've never used this module before or just aren't sure which class is
32
right for your task, :class:`Path` is most likely what you need. It instantiates
0 commit comments