[New-bugs-announce] [issue34329] Document how to remove a suffix with pathlib.Path.with_suffix

Stefan Otte report at bugs.python.org
Fri Aug 3 05:58:05 EDT 2018


New submission from Stefan Otte <stefan.otte at gmail.com>:

Hello folks!

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
components: Documentation
messages: 323042
nosy: docs at python, sotte
priority: normal
severity: normal
status: open
title: Document how to remove a suffix with pathlib.Path.with_suffix
type: enhancement

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34329>
_______________________________________


More information about the New-bugs-announce mailing list