File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,12 @@ inherit from pure paths but also provide I/O operations.
2121.. image :: pathlib-inheritance.png
2222 :align: center
2323 :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.
2430
2531If you've never used this module before or just aren't sure which class is
2632right for your task, :class: `Path ` is most likely what you need. It instantiates
You can’t perform that action at this time.
0 commit comments