Matthew Barnett <[email protected]> added the comment:
It always returns the dot.
For example:
>>> posixpath.splitext('.blah.txt')
('.blah', '.txt')
If there's no extension (no dot):
>>> posixpath.splitext('blah')
('blah', '')
Not a bug.
----------
nosy: +mrabarnett
resolution: -> not a bug
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue35538>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com