if a string is passed to indent, the indent char is the first char of the string and the indent char count is the length of the indent string. e.g. indent="\t\t" would be 2 tabs (but so would indent="\tA".
decide whether to keep this. might be nice if someone wanted to use tabs instead of spaces.
if kept, need to raise an exception if the string is not ascii.
if a string is passed to indent, the indent char is the first char of the string and the indent char count is the length of the indent string. e.g. indent="\t\t" would be 2 tabs (but so would indent="\tA".
decide whether to keep this. might be nice if someone wanted to use tabs instead of spaces.
if kept, need to raise an exception if the string is not ascii.