Get an option value. Unless `fallback` is provided, `None` will be returned if the option is not found.
(self, option, fallback=None, *, raw=False, vars=None,
_impl=None, **kwargs)
| 1341 | return self._name |
| 1342 | |
| 1343 | def get(self, option, fallback=None, *, raw=False, vars=None, |
| 1344 | _impl=None, **kwargs): |
| 1345 | """Get an option value. |
| 1346 | |
| 1347 | Unless `fallback` is provided, `None` will be returned if the option |
| 1348 | is not found. |
| 1349 | |
| 1350 | """ |
| 1351 | # If `_impl` is provided, it should be a getter method on the parser |
| 1352 | # object that provides the desired type conversion. |
| 1353 | if not _impl: |
| 1354 | _impl = self._parser.get |
| 1355 | return _impl(self._name, option, raw=raw, vars=vars, |
| 1356 | fallback=fallback, **kwargs) |
| 1357 | |
| 1358 | |
| 1359 | class ConverterMapping(MutableMapping): |
no outgoing calls
no test coverage detected