(类来自 pyomo.common.formatting)
pyomo.common.formatting
基础类:object
object
模拟一个文件类对象,它包装了另一个文件类对象,并在将所有数据传递给底层文件之前使用指定的字符串进行缩进。由于这提供了一个完整的文件接口,StreamIndenter对象可以任意嵌套。
方法
__init__(ostream[, indent])
__init__
write(data)
write
writelines(sequence)
writelines
成员文档