summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Baumgold <singingwolfboy@gmail.com>2011-11-10 22:48:07 -0500
committerDavid Baumgold <singingwolfboy@gmail.com>2011-11-10 22:48:07 -0500
commitedfa7651617a5f01d3394e3fc8d8e42aa972c3ff (patch)
treefe9771bd2925610c1dfa58c2121b5a5d20120327
parent698e6c1e3fc00a41ef8a09f2a5c8b287034e6390 (diff)
downloadsimplejson-edfa7651617a5f01d3394e3fc8d8e42aa972c3ff.tar.gz
Removed PyTuple_Check from _is_namedtuple() in _speedups.c
-rw-r--r--simplejson/_speedups.c2
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