On Wed, 13 Aug 2008 20:56:04 -0700, "Erick Tryzelaar"
<[EMAIL PROTECTED]> wrote:
> I've got a case where I'd like to pass in a tuple to a function that
> accepts a QList. Unfortunately, PyQt4 assumes that it's getting a
> list, and will error out with an invalid type being passed in. Would
> it be possible to use PyObject_GetIter/PyIter_Next to walk over the
> items?

The current version of PyQt will accept a sequence rather than a list.

For some reason I didn't mention this in the ChangeLog, the NEWS file or
the documentation.

Phil

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to