Description

Format a tokenlist “tokens“ with the formatter “formatter“.

If “outfile“ is given and a valid file object (an object with a “write“ method), the result will be written to it, otherwise it is returned as a string.

format is referenced in 0 repositories