| return stat.S_ISDIR(st.st_mode) | ||
|
|
||
| def _join(dirname, basename): | ||
| # It is common if dirname or basename is empty |
There was a problem hiding this comment.
I don't think this comment is necessary.
There was a problem hiding this comment.
Why not? It explains why the special case was added.
Or maybe you can suggest better wording?
https://bugs.python.org/issue38144