[PyQt] What happend to PyQt5.QtCore.pyqtWrapperType?
phil at riverbankcomputing.com
Wed Jan 18 22:17:50 GMT 2017
On 18 Jan 2017, at 6:51 pm, Cody Scott <cody at perspexis.com> wrote:
> I'm looking at this code for inspiration on testing QML and I ran into this error.
> AttributeError: module 'PyQt5.QtCore' has no attribute 'pyqtWrapperType'
> It doesn't appear to be available in PyQt5==5.7.1
> It is available in PyQt5==5.6
It was an undocumented implementation detail that was removed as part of the adoption of the limited API.
If code wants to get the meta-type used by PyQt then it should call type() on a PyQt type object.
More information about the PyQt