Home | History | Annotate | Download | only in python2.7

Lines Matching refs:arguments

108     inconsistent arguments.
481 # here so the constructor can validate its arguments.
524 # validate option arguments according to the option type.
537 # If no checker is defined for a type, arguments will be
623 "invalid keyword arguments: %s" % ", ".join(attrs),
1018 raise TypeError, "invalid arguments"
1148 if true, positional arguments may be interspersed with options.
1171 we consume arguments. Mainly there for the benefit of
1174 the list of leftover arguments that we have skipped while
1183 need to parse command-line arguments simultaneously in different
1289 interspersing switches with command arguments. This is the
1346 raise TypeError, "invalid arguments"
1378 your option values) and 'args' is the list of arguments left
1391 # the leftover arguments -- ie. what's left after removing
1392 # options and their arguments (the "l" stands for "leftover"
1411 Check that the supplied option values and leftover arguments are
1412 valid. Returns the option values and leftover arguments
1424 Process command-line arguments and populate 'values', consuming
1425 options and arguments from 'rargs'. If 'allow_interspersed_args' is
1427 interspersed non-option arguments in 'largs'.
1456 # [arg0, ..., arg(i-1)] (any options and their arguments will have
1459 # The while loop will usually consume 1 or more arguments per pass.
1460 # If it consumes 1 (eg. arg is an option that takes no arguments),
1500 self.error(_("%s option requires %d arguments")
1539 self.error(_("%s option requires %d arguments")