Home | History | Annotate | Download | only in distutils

Lines Matching defs:getopt

3 Wrapper around the standard getopt module that provides the following

16 import getopt
34 """Wrapper around the standard 'getopt()' module that provides some
81 # And 'option_order' is filled up in 'getopt()'; it records the
148 option table. Called by 'getopt()' before it can do anything
234 def getopt (self, args=None, object=None):
241 'getopt()' just returns 'args'; in both cases, the returned
257 opts, args = getopt.getopt(args, short_opts, self.long_opts)
258 except getopt.error, msg:
295 # getopt()
300 previous run of 'getopt()'. Raises RuntimeError if
301 'getopt()' hasn't been called yet.
304 raise RuntimeError, "'getopt()' hasn't been called yet"
314 # 'generate_help()' unless you've already called 'getopt()'.
405 return parser.getopt(args, object)