fix documentation of from_string method

This had me quite confused for a few minutes there