mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
merge
This commit is contained in:
commit
740d6134f1
2 changed files with 13 additions and 1 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue