未设置

(类来自 pyomo.common.flags)

class pyomo.common.flags.NOTSET(*args, **kwargs)[source]

基础类:object

用于指示未指定可选参数的类,如果None可能引起歧义。用法:

示例

>>> def foo(value=NOTSET):
...     if value is NOTSET:
...         pass  # no argument was provided to `value`
__init__()

方法

__init__()

成员文档