diff options
author | David Baumgold <singingwolfboy@gmail.com> | 2011-11-10 22:48:07 -0500 |
---|---|---|
committer | David Baumgold <singingwolfboy@gmail.com> | 2011-11-10 22:48:07 -0500 |
commit | edfa7651617a5f01d3394e3fc8d8e42aa972c3ff (patch) | |
tree | fe9771bd2925610c1dfa58c2121b5a5d20120327 | |
parent | 698e6c1e3fc00a41ef8a09f2a5c8b287034e6390 (diff) | |
download | simplejson-edfa7651617a5f01d3394e3fc8d8e42aa972c3ff.tar.gz |
Removed PyTuple_Check from _is_namedtuple() in _speedups.c
-rw-r--r-- | simplejson/_speedups.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/simplejson/_speedups.c b/simplejson/_speedups.c index f8b0565..5169923 100644 --- a/simplejson/_speedups.c +++ b/simplejson/_speedups.c @@ -169,7 +169,7 @@ _is_namedtuple(PyObject *obj); static int _is_namedtuple(PyObject *obj) { - return PyTuple_Check(obj) && PyObject_HasAttrString(obj, "_asdict"); + return PyObject_HasAttrString(obj, "_asdict"); } static int |