Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/
Doptparse.py126 class OptionValueError (OptParseError): class
429 raise OptionValueError(
437 raise OptionValueError(
1401 except (BadOptionError, OptionValueError), err:
/external/python/cpython2/Lib/test/
Dtest_optparse.py23 BadOptionError, OptionValueError, Values
456 raise OptionValueError(
1034 raise OptionValueError("%s: file does not exist" % value)
1036 raise OptionValueError("%s: not a regular file" % value)
/external/python/cpython2/Doc/library/
Doptparse.rst1317 :exc:`OptionValueError` if an invalid string is given.
1678 The callback function should raise :exc:`OptionValueError` if there are any
1711 raise OptionValueError("can't use -a after -b")
1729 raise OptionValueError("can't use %s after -b" % opt_str)
1748 raise OptionValueError("%s option invalid when moon is full"
1880 Your type-checking function should raise :exc:`OptionValueError` if it
1881 encounters any problems. :exc:`OptionValueError` takes a single string
1894 from optparse import Option, OptionValueError
1903 raise OptionValueError(
Dargparse.rst1953 :exc:`optparse.OptionError` and :exc:`optparse.OptionValueError` with