Kaydet (Commit) 3fe8216f authored tarafından Alexandre Vassalotti's avatar Alexandre Vassalotti

Fixed a bug in the representation of self-referential tuples.

üst 73eada32
......@@ -201,7 +201,7 @@ tuplerepr(PyTupleObject *v)
possible within a type. */
i = Py_ReprEnter((PyObject *)v);
if (i != 0) {
return i > 0 ? PyString_FromString("(...)") : NULL;
return i > 0 ? PyUnicode_FromString("(...)") : NULL;
}
pieces = PyTuple_New(n);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment