Home
last modified time | relevance | path

Searched refs:ensure_value (Results 1 – 4 of 4) sorted by relevance

/third_party/python/Lib/
Doptparse.py797 values.ensure_value(dest, []).append(value)
799 values.ensure_value(dest, []).append(self.const)
801 setattr(values, dest, values.ensure_value(dest, 0) + 1)
882 def ensure_value(self, attr, value): member in Values
/third_party/libfuse/example/
Dcxxopts.hpp1048 ensure_value(details); in parse()
1056 ensure_value(details); in parse_default()
1091 ensure_value(std::shared_ptr<const OptionDetails> details) in ensure_value() function in cxxopts::OptionValue
/third_party/python/Lib/test/
Dtest_optparse.py1074 values.ensure_value(dest, []).extend(lvalue)
1184 dest = parser_.values.ensure_value(option.dest, [])
/third_party/python/Doc/library/
Doptparse.rst2004 values.ensure_value(dest, []).extend(lvalue)
2024 the very useful :meth:`ensure_value` method. :meth:`ensure_value` is
2027 values.ensure_value(attr, value)
2030 ensure_value() first sets it to ``value``, and then returns 'value. This is
2034 :meth:`ensure_value` means that scripts using your action don't have to worry
2036 can just leave the default as ``None`` and :meth:`ensure_value` will take care of