Lines Matching defs:tuple
70 #define TUPLE 't'
80 #define TUPLE1 '\x85' /* build 1-tuple from stack top */
81 #define TUPLE2 '\x86' /* build 2-tuple from two topmost stack items */
82 #define TUPLE3 '\x87' /* build 3-tuple from three topmost stack items */
113 /* As the name says, an empty tuple. */
1476 /* A helper for save_tuple. Push the len elements in tuple t on the stack. */
1502 * (a tuple can be reached from itself), and that requires some subtle
1512 static char tuple = TUPLE;
1529 c_str[1] = TUPLE;
1534 /* Don't memoize an empty tuple. */
1538 /* A non-empty tuple. */
1540 /* id(tuple) isn't in the memo now. If it shows up there after
1541 * saving the tuple elements, the tuple must be recursive, in
1550 /* Use TUPLE{1,2,3} opcodes. */
1571 * Generate MARK elt1 elt2 ... TUPLE
1600 if (self->write_func(self, &tuple, 1) < 0)
2378 /* We're saving ob, and args is the 2-thru-5 tuple returned by the
2399 cPickle_ErrFormat(PicklingError, "tuple returned by "
2415 "tuple returned by %s must be a tuple",
2427 "tuple returned by %s must be an iterator, not %s",
2436 "tuple returned by %s must be an iterator, not %s",
2813 "%s must be string or tuple",
4008 "tuple.");
4338 * confirm that pair is really a 2-tuple of strings.
4345 "isn't a 2-tuple of strings", code);
4849 case TUPLE:
5266 case TUPLE: