lenskit.util.IndentWriter#

class lenskit.util.IndentWriter(target, *, width=4)#

Write output with configurable indents.

Parameters:
  • target (TextIO)

  • width (int)

level: int = 0#
width: int#
print(data='', *, eol=True)#

Print another message to the output.

Parameters:
add_indent()#
drop_indent()#
indent()#