Contents
Links
Class documentation
Full name: ase2sprkkr.tools.test.grammar_types.grammar_type.format_for_type
Returns the format appropriate to the given type
format (str or dict) – If it is str, just return it. Dict should has the form { type : format_for_the_type } + { None : default_format }