summaryrefslogtreecommitdiffstats
path: root/Python/pystrhex.c
diff options
context:
space:
mode:
authorChris Adams <chris@improbable.org>2022-07-15 22:09:27 (GMT)
committerGitHub <noreply@github.com>2022-07-15 22:09:27 (GMT)
commit3789c635772fbdeb5d0fc32aa811fd6b1d935a60 (patch)
tree23b211c4caba12672e9d83670b488acdcfd54938 /Python/pystrhex.c
parent582ae86b3f07d806f145b3eb9009efd9fbf2e041 (diff)
downloadcpython-3789c635772fbdeb5d0fc32aa811fd6b1d935a60.zip
cpython-3789c635772fbdeb5d0fc32aa811fd6b1d935a60.tar.gz
cpython-3789c635772fbdeb5d0fc32aa811fd6b1d935a60.tar.bz2
Add additional pointers to pathlib's mapping to os.path functions (#94828)
* Add additional pointers to pathlib's mapping to os.path functions os.path.splitext has a somewhat quirky signature since it mixes the path and filename components but I wanted the documentation to mention `PurePath.stem` as the natural counterpart to `PurePath.suffix` for the common use of `os.path.splitext` to turn "file.py" into "file" and "py". Technically this could have some discussion of how to handle the parent directory hierarchy but that seems a bit out of keeping with the spirit of this table so I omitted mentioning `PurePath.parents` here. * Update Doc/library/pathlib.rst Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Diffstat (limited to 'Python/pystrhex.c')
0 files changed, 0 insertions, 0 deletions