Document parse_signature, with doctest