New submission from Stefan Otte <stefan.o...@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@python components: Documentation messages: 323042 nosy: docs@python, sotte priority: normal severity: normal status: open title: Document how to remove a suffix with pathlib.Path.with_suffix type: enhancement _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34329> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com