summaryrefslogtreecommitdiffstats
path: root/Objects/abstract.c
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2015-05-17 21:47:00 (GMT)
committerRaymond Hettinger <python@rcn.com>2015-05-17 21:47:00 (GMT)
commit740d6134f15cd9641a7c9d953269a07a99d02a2b (patch)
treee8955d6fe74b3a5315361cc2155311a53c7a1d8e /Objects/abstract.c
parent01d566d340f23f1d4568fa78efdd3541c5a145bf (diff)
parent610a51f364f6cb5ffb5167d9bf4dcecc1815107c (diff)
downloadcpython-740d6134f15cd9641a7c9d953269a07a99d02a2b.zip
cpython-740d6134f15cd9641a7c9d953269a07a99d02a2b.tar.gz
cpython-740d6134f15cd9641a7c9d953269a07a99d02a2b.tar.bz2
merge
Diffstat (limited to 'Objects/abstract.c')
-rw-r--r--Objects/abstract.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/abstract.c b/Objects/abstract.c
index dc8fb37..31cc0a8 100644
--- a/Objects/abstract.c
+++ b/Objects/abstract.c
@@ -1681,7 +1681,7 @@ PySequence_Tuple(PyObject *v)
Py_INCREF(v);
return v;
}
- if (PyList_Check(v))
+ if (PyList_CheckExact(v))
return PyList_AsTuple(v);
/* Get iterator. */