(class from pyomo.common.formatting)
pyomo.common.formatting
Bases: object
object
Mock-up of a file-like object that wraps another file-like object and indents all data using the specified string before passing it to the underlying file. Since this presents a full file interface, StreamIndenter objects may be arbitrarily nested.
Methods
__init__(ostream[, indent])
__init__
write(data)
write
writelines(sequence)
writelines
Member Documentation