Lines Matching refs:nattrs
5891 Py_ssize_t nattrs = asdl_seq_LEN(attrs); in validate_kwd_attrs() local
5892 for (Py_ssize_t i = 0; i < nattrs; i++) { in validate_kwd_attrs()
5898 for (Py_ssize_t j = i + 1; j < nattrs; j++) { in validate_kwd_attrs()
5918 Py_ssize_t nattrs = asdl_seq_LEN(kwd_attrs); in compiler_pattern_class() local
5920 if (nattrs != nkwd_patterns) { in compiler_pattern_class()
5924 return compiler_error(c, e, nattrs, nkwd_patterns); in compiler_pattern_class()
5926 if (INT_MAX < nargs || INT_MAX < nargs + nattrs - 1) { in compiler_pattern_class()
5930 if (nattrs) { in compiler_pattern_class()
5936 RETURN_IF_FALSE(attr_names = PyTuple_New(nattrs)); in compiler_pattern_class()
5938 for (i = 0; i < nattrs; i++) { in compiler_pattern_class()
5948 for (i = 0; i < nargs + nattrs; i++) { in compiler_pattern_class()