[Python-Dev] Proposal to revert r54204 (splitext change)
Michael Foord
fuzzyman at voidspace.org.uk
Wed Mar 14 22:51:29 CET 2007
Delaney, Timothy (Tim) wrote:
> [snip..]
>>
>> Even the docstring only states that either part may be empty, hardly
>> documenting what is clearly a misfeature.
>>
>
> splitext(p)
> Split the extension from a pathname.
>
> Extension is everything from the last dot to the end.
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Return (root, ext), either part may be empty.
>
> That's pretty explicit.
>
>
Hmm... mis-memory on my part. Apologies.
Michael
> Tim Delaney
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/fuzzyman%40voidspace.org.uk
>
>
More information about the Python-Dev
mailing list