Home
last modified time | relevance | path

Searched refs:make_option (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Lib/test/
Dtest_optparse.py21 from optparse import make_option, Option, \
202 self.assertRaises(make_option, args, kwargs,
206 self.assertTypeError(make_option,
643 options = [make_option("-a", type="string"),
644 make_option("-b", "--boo", type="int", dest='boo'),
645 make_option("--foo", action="append")]
781 options = [make_option("-v",
786 make_option("-q",
840 self.v_opt = make_option("-v", action="count", dest="verbose")
971 make_option("-v", action="store_true", dest="verbose", default=1)])
[all …]
/third_party/python/Doc/library/
Doptparse.rst868 * pass it an Option instance (as returned by :func:`make_option`)
871 acceptable to :func:`make_option` (i.e., to the Option constructor), and it
878 make_option("-f", "--filename",
880 make_option("-q", "--quiet",
885 (:func:`make_option` is a factory function for creating Option instances;
887 :mod:`optparse` may split Option into several classes, and :func:`make_option`
/third_party/python/Lib/
Doptparse.py1681 make_option = Option variable