Skip to main content

word

Function word 

fn word<T: FromStr>(spelling: &str) -> PyResult<T>
where T::Err: Display,
Expand description

Parses one word of a core vocabulary, forwarding the core’s rejection.

The whole of the binding’s convention handling. There is no accepted list on this side because there is no parser on this side: the core’s FromStr decides, and its error already names what it would have taken.