]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38422: Clarify docstrings of pathlib suffix(es) (GH-16679)
authorRam Rachum <ram@rachum.com>
Sat, 2 Nov 2019 16:46:24 +0000 (18:46 +0200)
committerMiss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 2 Nov 2019 16:46:24 +0000 (09:46 -0700)
commit8d4fef4ee2a318097f429cf6cbd4fb2e430bb9da
treeff35d9acb7b1a8d9c5bd27861f1b610f9f92fd4f
parentd0d9f7cfa36bafa4e1d9e73eb08835180d376df1
bpo-38422: Clarify docstrings of pathlib suffix(es) (GH-16679)

Whenever I use `path.suffix` I have to check again whether it includes the dot or not. I decided to add it to the docstring so I won't have to keep checking.

https://bugs.python.org/issue38422

Automerge-Triggered-By: @pitrou
Lib/pathlib.py
Misc/NEWS.d/next/Library/2019-10-09-18-16-51.bpo-38422.aiM5bq.rst [new file with mode: 0644]