Home
last modified time | relevance | path

Searched refs:n_unnamed_fields (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Objects/
Dstructseq.c149 Py_ssize_t len, min_len, max_len, i, n_unnamed_fields; in structseq_new() local
173 n_unnamed_fields = UNNAMED_FIELDS_TP(type); in structseq_new()
214 dict, type->tp_members[i-n_unnamed_fields].name))) { in structseq_new()
377 Py_ssize_t n_fields, n_visible_fields, n_unnamed_fields; in structseq_reduce() local
382 n_unnamed_fields = UNNAMED_FIELDS(self); in structseq_reduce()
400 char *n = Py_TYPE(self)->tp_members[i-n_unnamed_fields].name; in structseq_reduce()
/external/python/cpython2/Lib/test/
Dtest_structseq.py73 self.assertEqual(t.n_fields, t.n_sequence_fields+t.n_unnamed_fields)