Hello ng,
I don't understand why split (string split) doesn't work with the same
method if I can't pass values or if I pass a whitespace value:

>>> "".split()
[]
>>> "".split(" ")
['']

But into the doc I see:
""" If sep is not specified or is None, any whitespace string is a
separator.
"""

In this two cases, split would to return the _same_ result?

Thanks,
Michele
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to