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.
21
21
.. image :: pathlib-inheritance.png
22
22
:align: center
23
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.
24
30
25
31
If you've never used this module before or just aren't sure which class is
26
32
right 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