Я нашел его в файле 'PyQt / QtGui.pyi'
cursorPosition = ... # type: int
Интересно, что такое a = ...
?
ex)
class PaintContext(sip.simplewrapper):
clip = ... # type: QtCore.QRectF
cursorPosition = ... # type: int
palette = ... # type: 'QPalette'
selections = ...