[docs] [issue34329] Document how to remove a suffix with pathlib.Path.with_suffix
report at bugs.python.org
Fri Aug 3 05:58:05 EDT 2018
New submission from Stefan Otte <stefan.otte at gmail.com>:
I didn't realize that you can remove a suffix with the `with_suffix` function of the `Path` class of `pathlib` and I always used a little utility function that I wrote.
I wanted to add that functionality (removing of a suffix) and submit a PR but then I saw that `with_suffix` has you covered already. I'm just documenting this feature with the PR I'll submit.
assignee: docs at python
nosy: docs at python, sotte
title: Document how to remove a suffix with pathlib.Path.with_suffix
Python tracker <report at bugs.python.org>
More information about the docs