commit | c216df9288d03d43462c87dd9ee2ae3c340376a5 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Tue Jan 15 03:02:37 2008 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Tue Jan 15 03:02:37 2008 +0000 |
tree | 5ab5cd43a8f75d4dac2f6777e09315b5e78eb453 | |
parent | a01ed0305885d57731c0be69c7c0b10200e48535 [diff] [blame] |
Issue 1820: structseq objects did not work with the % formatting operator or isinstance(t, tuple). Orignal patch (without tests) by Leif Walsh.
diff --git a/Objects/structseq.c b/Objects/structseq.c index b6126ba..6b1b590 100644 --- a/Objects/structseq.c +++ b/Objects/structseq.c
@@ -460,7 +460,7 @@ structseq_methods, /* tp_methods */ NULL, /* tp_members */ 0, /* tp_getset */ - 0, /* tp_base */ + &PyTuple_Type, /* tp_base */ 0, /* tp_dict */ 0, /* tp_descr_get */ 0, /* tp_descr_set */