classification
Title: Clarify docstrings of pathlib suffix(es)
Type: enhancement Stage: patch review
Components: Library (Lib) Versions: Python 3.9
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: cool-RR, taleinat
Priority: normal Keywords: patch

Created on 2019-10-09 15:15 by cool-RR, last changed 2019-10-11 22:11 by taleinat.

Pull Requests
URL Status Linked Edit
PR 16679 open cool-RR, 2019-10-09 15:24
Messages (2)
msg354279 - (view) Author: Ram Rachum (cool-RR) * Date: 2019-10-09 15:15
I'm writing a PR for this right now.
msg354508 - (view) Author: Tal Einat (taleinat) * (Python committer) Date: 2019-10-11 22:11
From the PR, the rationale for this suggestion is:

"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."
History
Date User Action Args
2019-10-11 22:11:34taleinatsetnosy: + taleinat
messages: + msg354508
2019-10-11 00:44:07brandtbuchersettype: enhancement
2019-10-09 15:24:08cool-RRsetkeywords: + patch
stage: patch review
pull_requests: + pull_request16264
2019-10-09 15:15:39cool-RRcreate