Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.4.2, 6.4.3
-
None
-
-
90fdb33c9 (dev), 1cc34e990 (6.5), dad03dc22 (dev), 841f725fd (6.5)
Description
The signatures presented in QtQml.pyi from at least the following functions do not match their respective documentation on https://doc.qt.io/qtforpython/PySide6/QtQml:
def qmlProtectModule(...)
def qmlRegisterModule(...)
def qmlRegisterSingletonInstance(...)
def qmlRegisterSingletonType(...)
def qmlRegisterType(...)
def qmlRegisterType(...)
def qmlRegisterUncreatableMetaObject(...)
def qmlRegisterUncreatableType(...)
def qmlTypeId(...)
As I see it, everywhere that should be str according to documentation (when passing 'uri' or name parameters) there is bytes in the presented signatures.
Additionally, the names of the parameters do not match the documentation:
In many places the parameters are simply named "arg_1", "arg_2" and so on.