Lines Matching refs:parser_
1105 def process_opt(self, option, opt, value, parser_): argument
1109 self.assertTrue(parser_ is self.parser)
1111 self.assertEqual(vars(parser_.values), {'filename': None})
1113 parser_.values.x = 42
1117 self.assertTrue(parser_ is self.parser)
1119 self.assertEqual(vars(parser_.values), {'filename': None, 'x': 42})
1121 setattr(parser_.values, option.dest, value)
1153 def process_tuple(self, option, opt, value, parser_, len, type): argument
1163 getattr(parser_.values, option.dest).append(value)
1178 def process_n(self, option, opt, value, parser_): argument
1181 rargs = parser_.rargs
1184 dest = parser_.values.ensure_value(option.dest, [])
1186 parser_.largs.append(nargs)
1207 def process_many(self, option, opt, value, parser_): argument