On Fri, 16 Nov 2012 15:18:29 -0800, David Cortesi <davecort...@gmail.com> wrote: > On Fri, Nov 16, 2012 at 2:20 PM, Phil Thompson > <p...@riverbankcomputing.com> wrote: >> On Fri, 16 Nov 2012 10:34:12 -0800, David Cortesi <davecort...@gmail.com> >> wrote: >>> Working on implementing a List model using QAbstractListModel and >>> would like to implement (set)itemData which returns a QMap. > >> Have you tried... >> >>>>> from PyQt4.QtCore import QAbstractListModel >>>>> help(QAbstractListModel.itemData) >> > > Hm. Well, there's me looking at the Qt Assistant class ref instead of > the Riverside class ref.
The best source of simple help (ie. argument and result types) is help() because it is generated automatically and should always be correct. Phil _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt