[issue38422] Clarify docstrings of pathlib suffix(es)

Tal Einat report at bugs.python.org
Fri Oct 11 18:11:34 EDT 2019


Tal Einat <taleinat at gmail.com> added the comment:

>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."

----------
nosy: +taleinat

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


More information about the Python-bugs-list mailing list