PyDocs

Nav

Text Processing Services

Formatter.convert_field

string

method of Formatter (source)
  • Formatter.convert_field(value, conversion)
Converts the value (returned by get_field()) given a conversion type (as in the tuple returned by the parse() method). The default version understands ‘s’ (str), ‘r’ (repr) and ‘a’ (ascii) conversion types.
0 Examples
No examples for string/Formatter.convert_field.
See Also
No see-alsos for string/Formatter.convert_field
0 Notes
No notes for Formatter.convert_field