Lines Matching defs:self
21 def __init__(self, name, args): argument
27 def __init__(self, name): argument
30 def __call__(self, name, default, **kwargs): argument
35 def __init__(self): argument
38 def get(self, name, default): argument
44 def __init__(self): argument
71 def get_destination(self, name): argument
77 def add_destination(self, name, type, *args): argument
82 def is_directive(self, name): argument
85 def directive(self, name, args): argument
91 def test_eol(self): argument
112 def _test(self, l, m, r, output): argument
116 def test_range(self): argument
124 def test_add_window(self): argument
133 def test_ludicrous(self): argument
144 def test_right_only(self): argument
153 def test_have_left_options_but_required_is_empty(self): argument
160 def _test(self, input, output, **kwargs): argument
164 def test_empty_strings(self): argument
167 def test_solo_newline(self): argument
170 def test_no_substitution(self): argument
177 def test_empty_substitution(self): argument
187 def test_single_line_substitution(self): argument
198 def test_multiline_substitution(self): argument
212 def __init__(self, clinic): argument
215 def parse(self, block): argument
219 def __init__(self, clinic): argument
222 def parse(self, block): argument
227 def _test(self, input, output): argument
237 def round_trip(self, input): argument
240 def test_round_trip_1(self): argument
245 def test_round_trip_2(self): argument
257 def _test_clinic(self, input, output): argument
265 def test_clinic_1(self): argument
288 def test_trivial(self): argument
296 def test_ignore_line(self): argument
302 def test_param(self): argument
310 def test_param_default(self): argument
315 def test_param_with_continuations(self): argument
320 def test_param_default_expression(self): argument
329 def test_param_no_docstring(self): argument
339 def test_param_default_parameters_out_of_order(self): argument
350 def disabled_test_converter_arguments(self): argument
355 def test_function_docstring(self): argument
374 def test_explicit_parameters_in_docstring(self): argument
398 def test_parser_regression_special_character_in_parameter_column_of_docstring_first_line(self): argument
407 def test_c_name(self): argument
411 def test_return_converter(self): argument
415 def test_star(self): argument
421 def test_group(self): argument
426 def test_left_group(self): argument
466 def test_nested_groups(self): argument
542 def parse_function_should_fail(self, s): argument
548 def test_disallowed_grouping__two_top_groups_on_left(self): argument
564 def test_disallowed_grouping__two_top_groups_on_right(self): argument
577 def test_disallowed_grouping__parameter_after_group_on_right(self): argument
590 def test_disallowed_grouping__group_after_parameter_on_left(self): argument
603 def test_disallowed_grouping__empty_group_on_left(self): argument
615 def test_disallowed_grouping__empty_group_on_right(self): argument
627 def test_no_parameters(self): argument
638 def test_init_with_no_parameters(self): argument
652 def test_illegal_module_line(self): argument
659 def test_illegal_c_basename(self): argument
666 def test_single_star(self): argument
674 def test_parameters_required_after_star_without_initial_parameters_or_docstring(self): argument
681 def test_parameters_required_after_star_without_initial_parameters_with_docstring(self): argument
689 def test_parameters_required_after_star_with_initial_parameters_without_docstring(self): argument
697 def test_parameters_required_after_star_with_initial_parameters_and_docstring(self): argument
706 def test_single_slash(self): argument
714 def test_mix_star_and_slash(self): argument
725 def test_parameters_not_permitted_after_slash_for_now(self): argument
733 def test_parameters_no_more_than_one_vararg(self): argument
742 def test_function_not_at_column_0(self): argument
762 def test_directive(self): argument
771 def test_legacy_converters(self): argument
776 def test_legacy_converters_non_string_constant_annotation(self): argument
794 def test_other_bizarre_things_in_annotations_fail(self): argument
815 def parse(self, text): argument
822 def parse_function(self, text, signatures_in_block=2, function_index=1): argument
830 def test_scaffolding(self): argument
845 def test_external(self): argument
881 def test_objects_converter(self): argument
888 def test_bytes_object_converter(self): argument
893 def test_byte_array_object_converter(self): argument
899 def test_unicode_converter(self): argument
904 def test_bool_converter(self): argument
911 def test_char_converter(self): argument
923 def test_unsigned_char_converter(self): argument
937 def test_short_converter(self): argument
948 def test_unsigned_short_converter(self): argument
962 def test_int_converter(self): argument
975 def test_unsigned_int_converter(self): argument
989 def test_long_converter(self): argument
1000 def test_unsigned_long_converter(self): argument
1014 def test_long_long_converter(self): argument
1025 def test_unsigned_long_long_converter(self): argument
1039 def test_py_ssize_t_converter(self): argument
1050 def test_slice_index_converter(self): argument
1061 def test_size_t_converter(self): argument
1068 def test_float_converter(self): argument
1074 def test_double_converter(self): argument
1080 def test_py_complex_converter(self): argument
1088 def test_str_converter(self): argument
1099 def test_str_converter_encoding(self): argument
1110 def test_py_buffer_converter(self): argument
1115 def test_keywords(self): argument
1120 def test_keywords_kwonly(self): argument
1126 def test_keywords_opt(self): argument
1135 def test_keywords_opt_kwonly(self): argument
1145 def test_keywords_kwonly_opt(self): argument
1153 def test_posonly_keywords(self): argument
1161 def test_posonly_kwonly(self): argument
1170 def test_posonly_keywords_kwonly(self): argument
1180 def test_posonly_keywords_opt(self): argument
1192 def test_posonly_opt_keywords_opt(self): argument
1204 def test_posonly_kwonly_opt(self): argument
1215 def test_posonly_opt_kwonly_opt(self): argument
1225 def test_posonly_keywords_kwonly_opt(self): argument
1241 def test_posonly_keywords_opt_kwonly_opt(self): argument
1257 def test_posonly_opt_keywords_opt_kwonly_opt(self): argument
1269 def test_keyword_only_parameter(self): argument
1276 def test_posonly_vararg(self): argument
1283 def test_vararg_and_posonly(self): argument
1290 def test_vararg(self): argument
1297 def test_vararg_with_default(self): argument
1304 def test_vararg_with_only_defaults(self): argument
1311 def test_gh_32092_oob(self): argument
1314 def test_gh_32092_kw_pass(self): argument
1317 def test_gh_99233_refcount(self): argument
1324 def test_gh_99240_double_free(self): argument