diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-07-27 17:19:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-27 17:19:09 (GMT) |
commit | a93f97c56d4b7308462caa5297248f110937b848 (patch) | |
tree | 61ed234ef08728da6dac394454639eb76a154833 /Python/executor_cases.c.h | |
parent | e122d2adfa97413bafaefecb3e7d98f65d93cac6 (diff) | |
download | cpython-a93f97c56d4b7308462caa5297248f110937b848.zip cpython-a93f97c56d4b7308462caa5297248f110937b848.tar.gz cpython-a93f97c56d4b7308462caa5297248f110937b848.tar.bz2 |
[3.13] GH-121462: pathlib docs: improve table of corresponding os/os.path functions (GH-121465) (#122359)
Re-order table of corresponding functions with the following priorities:
1. Pure functionality is at the top
2. `os.path` functions are shown before `os` functions
3. Similar functionality is kept together
4. Functionality follows docs order where possible
Add a few missed correspondences:
- `os.path.isjunction` and `Path.is_junction`
- `os.path.ismount` and `Path.is_mount`
- `os.lstat()` and `Path.lstat()`
- `os.lchmod()` and `Path.lchmod()`
Also add footnotes describing a few differences.
(cherry picked from commit cbac8a3888411587beb026e246889154fbdd49a3)
Co-authored-by: Barney Gale <barney.gale@gmail.com>
Diffstat (limited to 'Python/executor_cases.c.h')
0 files changed, 0 insertions, 0 deletions