Truth value of empty set

After looking at the source code for CPython, I would guess this is a documentation error, however, it could be implementation dependent and therefore would be a good issue to raise on the Python bug tracker. Specifically, object.c defines the truth value of an item as follows: int PyObject_IsTrue(PyObject *v) { Py_ssize_t res; if (v … Read more